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

[TEST_BUG] Two nashorn tests fail in 8u40 nightly build with ClassNotFoundException

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b29
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Testsuite name: Nashorn
        Tests names:
        test/script/basic/JDK-8055762.js
        test/script/basic/JDK-8055796.js
        JDK tested: 8u40 nightly /net/scanas411.us.oracle.com/export/java-re/build/re3/nightlyws/jdk8u-dev/b03_2014-08-23-1902_1302/ws-b03_2014-08-23-1902_1302/build
        OS tested: All


        LOG:

        <testcase name="test/script/basic/JDK-8055762.js" time="0.028" classname="jdk.nashorn.internal.test.framework.ScriptRunnable">
            <failure type="java.lang.RuntimeException" message="java.lang.ClassNotFoundException: netscape.javascript.JSObject">
              <![CDATA[java.lang.RuntimeException: java.lang.ClassNotFoundException: netscape.javascript.JSObject
        at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:380)
        at jdk.nashorn.tools.Shell.apply(Shell.java:390)
        at jdk.nashorn.tools.Shell.runScripts(Shell.java:319)
        at jdk.nashorn.tools.Shell.run(Shell.java:169)
        at jdk.nashorn.tools.Shell.main(Shell.java:133)
        at jdk.nashorn.internal.test.framework.SeparateContextEvaluator.run(SeparateContextEvaluator.java:38)
        at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.evaluateScript(AbstractScriptRunnable.java:200)
        at jdk.nashorn.internal.test.framework.ScriptRunnable.executeInThisProcess(ScriptRunnable.java:146)
        at jdk.nashorn.internal.test.framework.ScriptRunnable.execute(ScriptRunnable.java:85)
        at jdk.nashorn.internal.test.framework.AbstractScriptRunnable.runTest(AbstractScriptRunnable.java:132)
        at jdk.nashorn.internal.test.framework.ScriptRunnable.runTest(ScriptRunnable.java:74)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        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)
        Caused by: java.lang.ClassNotFoundException: netscape.javascript.JSObject
        at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:340)
        at jdk.nashorn.internal.runtime.Context.findClass(Context.java:954)
        at jdk.nashorn.internal.objects.NativeJava.simpleType(NativeJava.java:485)
        at jdk.nashorn.internal.objects.NativeJava.type(NativeJava.java:316)
        at jdk.nashorn.internal.objects.NativeJava.type(NativeJava.java:308)
        at jdk.nashorn.internal.objects.NativeJava.type(NativeJava.java:304)
        at jdk.nashorn.internal.scripts.Script$Recompilation$6590$1$JDK_8055762.:program(test/script/basic/JDK-8055762.js:34)
        at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:634)
        at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:222)
        at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:376)
        ... 32 more
        ]]>
            </failure>
          </testcase> <!-- /export/home/aurora/sandbox/nashorn~source/test/script/basic/JDK-8055762.js -->

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sundar Sundararajan Athijegannathan
                Reporter:
                kshefov Konstantin Shefov
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: