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

compiler/jsr292/CreatesInterfaceDotEqualsCallInfo.java fails with VerifyError in Jake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2
    • None
    • 9-repo-jigsaw
    • hotspot

    Description

      java.lang.VerifyError: Bad return type
      Exception Details:
        Location:
          jdk/nashorn/internal/objects/Global.newObject()Ljdk/nashorn/internal/runtime/ScriptObject; @32: areturn
        Reason:
          Type 'java/lang/Object' (current frame, stack[0]) is not assignable to 'jdk/nashorn/internal/runtime/ScriptObject' (from method signature)
        Current Frame:
          bci: @32
          flags: { }
          locals: { 'jdk/nashorn/internal/objects/Global' }
          stack: { 'java/lang/Object' }
        Bytecode:
          0000000: 2ab6 0271 9900 11bb 0273 592a b602 76b7
          0000010: 0279 a700 0ebb 027b 592a b602 76b7 027c
          0000020: b0
        Stackmap Table:
          same_frame(@21)
          same_locals_1_stack_item_frame(@32,Object[#638])

              at jdk.nashorn.internal.runtime.Context.newGlobal(jdk.scripting.nashorn@9-internal/Context.java:1198)
              at jdk.nashorn.internal.runtime.Context.createGlobal(jdk.scripting.nashorn@9-internal/Context.java:1189)
              at jdk.nashorn.tools.Shell.run(jdk.scripting.nashorn@9-internal/Shell.java:171)
              at jdk.nashorn.tools.Shell.main(jdk.scripting.nashorn@9-internal/Shell.java:150)
              at CreatesInterfaceDotEqualsCallInfo.main(CreatesInterfaceDotEqualsCallInfo.java:37)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
              at java.lang.Thread.run(java.base@9-internal/Thread.java:804)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ctornqvi Christian Tornqvist
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: