changeset 16522 | d643e3ee819c |
parent 16277 | fd698c5ee684 |
16346:5e8c55025644 | 16522:d643e3ee819c |
---|---|
1 # We would like to avoid references from anywhere outside nashorn |
1 # We would like to avoid references from anywhere outside nashorn |
2 # to codegen, IR and parser packages, in particular script generated classes. |
2 # to codegen, IR and parser packages, in particular script generated classes. |
3 # We ensure that by overriding "package.access" security property. |
3 # We ensure that by overriding "package.access" security property. |
4 |
4 |
5 # The following "package.access" value was copied from default java.security |
5 # The following "package.access" value was copied from default java.security |
6 # of jre/lib/security and appended with nashorn IR, Codegen and Parser packages. |
6 # of jre/lib/security and appended with nashorn sensitive packages. |
7 |
7 |
8 # |
8 # |
9 # List of comma-separated packages that start with or equal this string |
9 # List of comma-separated packages that start with or equal this string |
10 # will cause a security exception to be thrown when |
10 # will cause a security exception to be thrown when |
11 # passed to checkPackageAccess unless the |
11 # passed to checkPackageAccess unless the |
12 # corresponding RuntimePermission ("accessClassInPackage."+package) has |
12 # corresponding RuntimePermission ("accessClassInPackage."+package) has |
13 # been granted. |
13 # been granted. |
14 package.access=sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,jdk.internal.,jdk.nashorn.internal.ir., jdk.nashorn.internal.codegen., jdk.nashorn.internal.lookup., jdk.nashorn.internal.parser. |
14 package.access=sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,jdk.internal.,jdk.nashorn.internal.,jdk.nashorn.tools. |