aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorsundar <none@none>2013-10-04 16:21:29 +0530
committersundar <none@none>2013-10-04 16:21:29 +0530
commit594a50c2d64be8409890fec4f194e8480d2ef288 (patch)
treee107644f704cc7c203ac177e4159c722607d77a5 /make
parentb9e69ad4bee69eb3954e88f5f74fee6bb201bac9 (diff)
downloadnashorn-594a50c2d64be8409890fec4f194e8480d2ef288.tar.gz
8025771: Enhance Nashorn Contexts
Reviewed-by: jlaskey, hannesw
Diffstat (limited to 'make')
-rw-r--r--make/java.security.override14
-rw-r--r--make/project.properties2
2 files changed, 1 insertions, 15 deletions
diff --git a/make/java.security.override b/make/java.security.override
deleted file mode 100644
index a7edf33b..00000000
--- a/make/java.security.override
+++ /dev/null
@@ -1,14 +0,0 @@
-# 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
-# of jre/lib/security and appended with nashorn sensitive packages.
-
-#
-# 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.
-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.
diff --git a/make/project.properties b/make/project.properties
index e6eea02e..2ad619be 100644
--- a/make/project.properties
+++ b/make/project.properties
@@ -234,7 +234,7 @@ run.test.jvmargs.main=${run.test.jvmargs.common} -ea
#-XX:-UseCompressedKlassPointers -XX:+PrintHeapAtGC -XX:ClassMetaspaceSize=300M
run.test.jvmargs.octane.main=${run.test.jvmargs.common}
-run.test.jvmsecurityargs=-Xverify:all -Djava.security.properties=${basedir}/make/java.security.override -Djava.security.manager -Djava.security.policy=${basedir}/build/nashorn.policy
+run.test.jvmsecurityargs=-Xverify:all -Djava.security.manager -Djava.security.policy=${basedir}/build/nashorn.policy
# VM options for script tests with @fork option
test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs}