Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8169335

Add a crypto policy fallback in case Security Property 'crypto.policy' does not exist

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b148
    • Verification:
      Verified

      Description

      JceSecurity.java

      - Path cpPath = Paths.get(cryptoPolicyProperty);

         if ((cryptoPolicyProperty == null) ||
                 (cpPath.getNameCount() != 1) ||
                 (cpPath.compareTo(cpPath.getFileName()) != 0)) {
             throw new SecurityException(
                 "Invalid policy directory name format: " +
                 cryptoPolicyProperty);
         }

      + Path cpPath = Paths.get(cryptoPolicyProperty);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wetmore Bradford Wetmore
              Reporter:
              wetmore Bradford Wetmore
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: