make/java.security.override

changeset 82
abea4ba28901
child 133
5759f600fcf7
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/make/java.security.override	Mon Feb 11 21:26:06 2013 +0530
     1.3 @@ -0,0 +1,14 @@
     1.4 +# We would like to avoid references from anywhere outside nashorn
     1.5 +# to codegen, IR and parser packages, in particular script generated classes.
     1.6 +# We ensure that by overriding "package.access" security property.
     1.7 +
     1.8 +# The following "package.access" value was copied from  default java.security 
     1.9 +# of jre/lib/security and appended with nashorn IR, Codegen and Parser packages.
    1.10 +
    1.11 +#
    1.12 +# List of comma-separated packages that start with or equal this string
    1.13 +# will cause a security exception to be thrown when
    1.14 +# passed to checkPackageAccess unless the
    1.15 +# corresponding RuntimePermission ("accessClassInPackage."+package) has
    1.16 +# been granted.
    1.17 +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.parser.

mercurial