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

CCP sets invalid type for java mirror load

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b31
    • Verification:
      Verified

      Description

      ----------System.out:(4/26)----------

      Test4

      global run method
      ----------System.err:(15/1045)----------
      java.lang.ClassCastException: Cannot cast jdk.nashorn.internal.scripts.JD4 to jdk.nashorn.internal.objects.Global
      at java.base/java.lang.Class.cast(Class.java:3569)
      at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.getInterfaceInner(NashornScriptEngine.java:279)
      at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.getInterface(NashornScriptEngine.java:211)
      at Test4.main(Test4.java:53)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.ClassCastException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.ClassCastException: Cannot cast jdk.nashorn.internal.scripts.JD4 to jdk.nashorn.internal.objects.Global

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              thartmann Tobias Hartmann
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: