-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
repo-valhalla
-
generic
-
generic
Extracted specific test case from JDK-8207170
Stack trace looks like the problem is that reflection generated code does not 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)
Stack trace looks like the problem is that reflection generated code does not 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)
- duplicates
-
JDK-8207194 [lworld] Update InnerClassLambdaMetafactory to add ValueTypes attribute in generated class
-
- Resolved
-
-
JDK-8207239 [lworld] ValueConstructorRef.java fails with ICCE after ValueTypes attribute checks
-
- Closed
-
- relates to
-
JDK-8207170 [lworld] Tests fail with IncompatibleClassChangeError after "Add value types consistency checks" change
-
- Closed
-