RFR: 8328111: Convert Runtime classes to use the ClassFile API instead of ASM [v5]
Oussama Louati
duke at openjdk.org
Thu Mar 14 15:59:41 UTC 2024
On Thu, 14 Mar 2024 15:53:26 GMT, Chen Liang <liach at openjdk.org> wrote:
>> i though about it too but the test fails saying:
>>
>> TEST: runtime/verifier/OverriderMsg.java
>> TEST JDK: /Users/louati/Documents/GitHub/jdk-fork/build/macosx-aarch64-server-release/images/jdk
>>
>> TEST RESULT: Error. Parse Exception: [--enable-preview]: vm option(s) found, need to specify /othervm
>
> The `@enablePreview` should be sufficient so you don't need extra cli args
i tried that, but the test keep failing saying that I should add --enable-preview :
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.UnsupportedClassVersionError: Preview features are not enabled for OverriderMsg (class file version 67.65535). Try running with '--enable-preview'
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18271#discussion_r1525127189
More information about the hotspot-runtime-dev
mailing list