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

[lworld] Tests fail with IncompatibleClassChangeError after "Add value types consistency checks" change

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Duplicate
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      Some tests fail with InvocationTargetException after http://hg.openjdk.java.net/valhalla/valhalla/rev/a5573f4f6392

      test/langtools/tools/javac/valhalla/lworld-values/ValueConstructorRef.java:

      java.lang.IncompatibleClassChangeError
      at ValueConstructorRef.main(ValueConstructorRef.java:46)
      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:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:832)

      test/hotspot/jtreg/compiler/valhalla/valuetypes/TestNewAcmp.java

      [...]
      Testing testEq02_1(null, null)
      ----------System.err:(20/1270)----------
      java.lang.reflect.InvocationTargetException
      at jdk.internal.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at compiler.valhalla.valuetypes.TestNewAcmp.runTest(TestNewAcmp.java:1375)
      at compiler.valhalla.valuetypes.TestNewAcmp.run(TestNewAcmp.java:1401)
      at compiler.valhalla.valuetypes.TestNewAcmp.main(TestNewAcmp.java:1414)
      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:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:832)
      Caused by: java.lang.IncompatibleClassChangeError
      ... 12 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mchung Mandy Chung
                Reporter:
                thartmann Tobias Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: