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

StackWalkTest.java fails after CODETOOLS-7903373

XMLWordPrintable

    • b15
    • Verified

        Reported by Kosta Stojiljkovic <kostasto@proton.me> via https://mail.openjdk.org/pipermail/hotspot-compiler-dev/2023-March/063518.html

        The test seems to fail after CODETOOLS-7903373.

        at StackWalkTest$Test.call2(StackWalkTest.java:217)
        at StackWalkTest$Test.call(StackWalkTest.java:204)
        at StackWalkTest$Marker.call(StackWalkTest.java:187)
        at StackWalkTest$Test.call(StackWalkTest.java:202)
        at StackWalkTest$Call.call(StackWalkTest.java:175)
        at StackWalkTest$Test.call2(StackWalkTest.java:217)
        at StackWalkTest$Test.call(StackWalkTest.java:204)
        at StackWalkTest$Call.call(StackWalkTest.java:175)
        at StackWalkTest$Test.call2(StackWalkTest.java:217)
        at StackWalkTest$Test.call(StackWalkTest.java:204)
        at StackWalkTest$Call.call(StackWalkTest.java:175)
        at StackWalkTest$Test.call2(StackWalkTest.java:217)
        at StackWalkTest$Test.call(StackWalkTest.java:204)
        at StackWalkTest.runTest(StackWalkTest.java:247)
        at StackWalkTest.main(StackWalkTest.java:298)
        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.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1623)
        Caused by: java.lang.IndexOutOfBoundsException: Index: 1004, Size: 1004
        at java.base/java.util.LinkedList.checkElementIndex(LinkedList.java:559)
        at java.base/java.util.LinkedList.get(LinkedList.java:480)
        at StackRecorderUtil.compareFrame(StackRecorderUtil.java:64)
        at StackWalkTest.consume(StackWalkTest.java:137)
        ... 1018 more

        JavaTest Message: Test threw exception: java.lang.RuntimeException: extra non-infra stack frame at count 1004: <com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)>
        JavaTest Message: shutting down test

              lmesnik Leonid Mesnik
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: