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

    • b148
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: