Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8011224

test/script/basic/JDK-8008554.js failure on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8
    • core-libs
    • None

      jdk.nashorn.internal.test.framework.ScriptRunnable::test/script/basic/JDK-8008554.js

       <testcase time="21.209" classname="jdk.nashorn.internal.test.framework.ScriptRunnable" name="test/script/basic/JDK-8008554.js">
          <failure type="java.security.AccessControlException" message="access denied (&quot;java.io.FilePermission&quot; &quot;//C/aurora/sandbox/nashorn~source/test/script/basic/NASHORN-99.js&quot; &quot;read&quot;)">
            <![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:478)
      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:330)
      at jdk.nashorn.tools.Shell.runScripts(Shell.java:299)
      at jdk.nashorn.tools.Shell.run(Shell.java:171)
      at jdk.nashorn.tools.Shell.main(Shell.java:139)
      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:487)
      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>
        </testcase> <!-- C:/aurora/sandbox/nashorn~source/test/script/basic/JDK-8008554.js -->

            sundar Sundararajan Athijegannathan
            jlaskey Jim Laskey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: