RFR: 8328111: Convert Runtime classes to use the ClassFile API instead of ASM [v5]
Oussama Louati
duke at openjdk.org
Thu Mar 14 15:40:54 UTC 2024
On Thu, 14 Mar 2024 15:32:04 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> test/hotspot/jtreg/runtime/verifier/OverriderMsg.java line 45:
>>
>>> 43: * java.management
>>> 44: * @compile -XDignore.symbol.file OverriderMsg.java
>>> 45: * @run main/othervm --enable-preview OverriderMsg
>>
>> **main/othervm:** Specifies that the test should be run in a separate JVM (Java Virtual Machine).
>> **--enable-preview:** Enables preview features during execution.
>> We added `main/othervm --enable-preview` to run the test in a separate JVM with preview features enabled, ensuring proper testing of code utilizing Java preview features.
>
> Should n't be
> @run main OverriderMsg
> enough?
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
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18271#discussion_r1525093178
More information about the hotspot-runtime-dev
mailing list