src/java.base/solaris/lib/security/default.policy
author jlahoda
Fri, 24 May 2019 12:25:18 +0200
changeset 55027 adb2493b120e
parent 47216 71c04702a3d5
permissions -rw-r--r--
8220702: compiling in the context of an automatic module disallows --add-modules ALL-MODULE-PATH Summary: Allow --add-modules ALL-MODULE-PATH when compiling in the context of an automatic module. Reviewed-by: jjg

grant codeBase "jrt:/jdk.crypto.ucrypto" {
    permission java.lang.RuntimePermission
                   "accessClassInPackage.sun.security.*";
    permission java.lang.RuntimePermission "accessClassInPackage.sun.nio.ch";
    permission java.lang.RuntimePermission "loadLibrary.j2ucrypto";
    // need "com.oracle.security.ucrypto.debug" for debugging
    permission java.util.PropertyPermission "com.oracle.security.ucrypto.debug", "read";
    permission java.util.PropertyPermission "file.separator", "read";
    permission java.util.PropertyPermission "java.home", "read";
    permission java.util.PropertyPermission "os.name", "read";
    permission java.security.SecurityPermission
                   "putProviderProperty.OracleUcrypto";
    permission java.security.SecurityPermission
                   "clearProviderProperties.OracleUcrypto";
    permission java.security.SecurityPermission
                   "removeProviderProperty.OracleUcrypto";
    // Needed for reading Ucrypto config file
    permission java.io.FilePermission "<<ALL FILES>>", "read";
};