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

Default.policy file missing content for solaris

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b133
    • OS:
      solaris

      Description

      On Solaris, the JDK build contains incorrect content for the default.policy file. It should include the content inside <jdk ws>/src/java.base/solaris/lib/security/default.policy, but it does not. This leads to the failure of the java/lang/SecurityManager/CheckSecurityProvider.java regression test as OracleUcrypto provider cannot be instantiated due to lack of permission.

      This seems to relate to "8159752: Grant de-privileged module permissions by default with java.security.policy override option" where the Ucrypto provider permission entry is moved to a Solaris specific sub-directory which make files misses the logic to handle.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mullan Sean Mullan
              Reporter:
              valeriep Valerie Peng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: