Details
-
Bug
-
Resolution: Fixed
-
P2
-
8
-
b93
-
generic
-
generic
-
Verified
Description
testcase time="21.188" name="test/script/basic/JDK-8008554.js" classname="jdk.nashorn.internal.test.framework.ScriptRunnable">
- <failure message="access denied ("java.io.FilePermission" "//C/aurora/sandbox/nashorn~source/test/script/basic/NASHORN-99.js" "read")" type="java.security.AccessControlException">
- <![CDATA[
java.security.AccessControlException: access denied ("java.io.FilePermission" "//C/aurora/sandbox/nashorn~source/test/script/basic/NASHORN-99.js" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:364)
at java.security.AccessController.checkPermission(AccessController.java:560)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.File.exists(File.java:776)
at sun.net.www.protocol.file.Handler.openConnection(Handler.java:97)
at sun.net.www.protocol.file.Handler.openConnection(Handler.java:72)
at java.net.URL.openConnection(URL.java:972)
at java.net.URL.openStream(URL.java:1038)
at jdk.nashorn.internal.runtime.Source.<init>(Source.java:119)
at jdk.nashorn.internal.runtime.Context.load(Context.java:463)
at jdk.nashorn.internal.objects.Global.load(Global.java:742)
at jdk.nashorn.internal.scripts.Script$JDK_8008554.runScript(test/script/basic/JDK-8008554.js:36)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:510)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:205)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:345)
at jdk.nashorn.tools.Shell.apply(Shell.java:340)
at jdk.nashorn.tools.Shell.runScripts(Shell.java:309)
at jdk.nashorn.tools.Shell.run(Shell.java:173)
at jdk.nashorn.tools.Shell.main(Shell.java:141)
at jdk.nashorn.internal.test.framework.SeparateContextEvaluator.run(SeparateContextEvaluator.java:38)
at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.evaluateScript(AbstractScriptRunnable.java:192)
at jdk.nashorn.internal.test.framework.ScriptRunnable.executeInThisProcess(ScriptRunnable.java:148)
at jdk.nashorn.internal.test.framework.ScriptRunnable.execute(ScriptRunnable.java:87)
at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.runTest(AbstractScriptRunnable.java:129)
at jdk.nashorn.internal.test.framework.ScriptRunnable.runTest(ScriptRunnable.java:79)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:490)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
at org.testng.TestNG.run(TestNG.java:1030)
at org.testng.TestNG.privateMain(TestNG.java:1337)
at org.testng.TestNG.main(TestNG.java:1306)
]]>
- <failure message="access denied ("java.io.FilePermission" "//C/aurora/sandbox/nashorn~source/test/script/basic/NASHORN-99.js" "read")" type="java.security.AccessControlException">
- <![CDATA[
java.security.AccessControlException: access denied ("java.io.FilePermission" "//C/aurora/sandbox/nashorn~source/test/script/basic/NASHORN-99.js" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:364)
at java.security.AccessController.checkPermission(AccessController.java:560)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.File.exists(File.java:776)
at sun.net.www.protocol.file.Handler.openConnection(Handler.java:97)
at sun.net.www.protocol.file.Handler.openConnection(Handler.java:72)
at java.net.URL.openConnection(URL.java:972)
at java.net.URL.openStream(URL.java:1038)
at jdk.nashorn.internal.runtime.Source.<init>(Source.java:119)
at jdk.nashorn.internal.runtime.Context.load(Context.java:463)
at jdk.nashorn.internal.objects.Global.load(Global.java:742)
at jdk.nashorn.internal.scripts.Script$JDK_8008554.runScript(test/script/basic/
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:510)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:205)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:345)
at jdk.nashorn.tools.Shell.apply(Shell.java:340)
at jdk.nashorn.tools.Shell.runScripts(Shell.java:309)
at jdk.nashorn.tools.Shell.run(Shell.java:173)
at jdk.nashorn.tools.Shell.main(Shell.java:141)
at jdk.nashorn.internal.test.framework.SeparateContextEvaluator.run(SeparateContextEvaluator.java:38)
at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.evaluateScript(AbstractScriptRunnable.java:192)
at jdk.nashorn.internal.test.framework.ScriptRunnable.executeInThisProcess(ScriptRunnable.java:148)
at jdk.nashorn.internal.test.framework.ScriptRunnable.execute(ScriptRunnable.java:87)
at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.runTest(AbstractScriptRunnable.java:129)
at jdk.nashorn.internal.test.framework.ScriptRunnable.runTest(ScriptRunnable.java:79)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:490)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
at org.testng.TestNG.run(TestNG.java:1030)
at org.testng.TestNG.privateMain(TestNG.java:1337)
at org.testng.TestNG.main(TestNG.java:1306)
]]>
Attachments
Issue Links
- clones
-
JDK-8012694 Smoke test fail: Windows JDK-8008554.js - access denied ("java.io.FilePermission" "//C/aurora/sandbox/nashorn~source/test/script/basic/NASHORN-99.js" "read")
- Closed
- duplicates
-
JDK-8011224 test/script/basic/JDK-8008554.js failure on Windows
- Closed