Test java/lang/Class/getModifiers/TestPrimitiveAndArrayModifiers.java fails since the ACC_IDENTITY flags has been added to arrays.
The test is also confused by the ACC_IDENTITY flag value, and interpreted it as ACC_SYNCHRONIZED (they have the same numerical value).
Stack trace:
java.lang.RuntimeException: Expected public abstract finalon TestPrimitiveAndArrayModifiers, but got public abstract final synchronized
at TestPrimitiveAndArrayModifiers.testArrays(TestPrimitiveAndArrayModifiers.java:75)
at TestPrimitiveAndArrayModifiers.main(TestPrimitiveAndArrayModifiers.java:50)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
The test is also confused by the ACC_IDENTITY flag value, and interpreted it as ACC_SYNCHRONIZED (they have the same numerical value).
Stack trace:
java.lang.RuntimeException: Expected public abstract finalon TestPrimitiveAndArrayModifiers, but got public abstract final synchronized
at TestPrimitiveAndArrayModifiers.testArrays(TestPrimitiveAndArrayModifiers.java:75)
at TestPrimitiveAndArrayModifiers.main(TestPrimitiveAndArrayModifiers.java:50)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
- links to
-
Commit(lworld) openjdk/valhalla/7b7cde67
-
Review(lworld) openjdk/valhalla/1183