When run with --enable-preview, the output still contains ACC_SUPER as opposed to ACC_IDENTITY. According to javap, the .class files generated in the test have minor version 0 (non-preview).
I've modified the test locally and forced an `@enablePreview`, and it still exhibits the same behaviour.
----------System.err:(12/573)----------
flags: (0x4030) ACC_FINAL, ACC_IDENTITY, ACC_ENUM not found
java.lang.Error: 1 found.
at T4870651.run(T4870651.java:57)
at T4870651.main(T4870651.java:40)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)
I've modified the test locally and forced an `@enablePreview`, and it still exhibits the same behaviour.
----------System.err:(12/573)----------
flags: (0x4030) ACC_FINAL, ACC_IDENTITY, ACC_ENUM not found
java.lang.Error: 1 found.
at T4870651.run(T4870651.java:57)
at T4870651.main(T4870651.java:40)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)