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

compiler/sharedstubs/SharedStubToInterpTest.java fails after JDK-8304387

XMLWordPrintable

    • b16

      JDK-8304387 moved the positions of static stubs which lets `compiler/sharedstubs/SharedStubToInterpTest.java` fail in tier2 on different architectures as the test still expects the old layout. The test should be fixed accordingly.

      Here's a log file snippet:

      ----------System.err:(12/767)----------
      java.lang.RuntimeException: Found {static_stub} before Deopt Handler Code
      at compiler.sharedstubs.SharedStubToInterpTest.checkOutput(SharedStubToInterpTest.java:110)
      at compiler.sharedstubs.SharedStubToInterpTest.runTest(SharedStubToInterpTest.java:70)
      at compiler.sharedstubs.SharedStubToInterpTest.main(SharedStubToInterpTest.java:80)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:1623)

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

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Found {static_stub} before Deopt Handler Code

            xlinzheng Xiaolin Zheng
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: