[lworld] ValueConstructorRef.java fails with ICCE after ValueTypes attribute checks

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • generic
    • generic

      Extracted this specific test from JDK-8207170 because it appears to require Reflection to generate ValueTypes attribute.

      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)

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Karen Kinnear (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: