2013-02-11 15:56:06 +00:00
|
|
|
# We would like to avoid references from anywhere outside nashorn
|
|
|
|
# to codegen, IR and parser packages, in particular script generated classes.
|
|
|
|
# We ensure that by overriding "package.access" security property.
|
|
|
|
|
|
|
|
# The following "package.access" value was copied from default java.security
|
2013-03-12 12:42:42 +00:00
|
|
|
# of jre/lib/security and appended with nashorn sensitive packages.
|
2013-02-11 15:56:06 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# List of comma-separated packages that start with or equal this string
|
|
|
|
# will cause a security exception to be thrown when
|
|
|
|
# passed to checkPackageAccess unless the
|
|
|
|
# corresponding RuntimePermission ("accessClassInPackage."+package) has
|
|
|
|
# been granted.
|
2013-03-12 12:42:42 +00:00
|
|
|
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.
|