RFR: 8328111: Convert Runtime classes to use the ClassFile API instead of ASM [v5]

Leonid Mesnik lmesnik at openjdk.org
Thu Mar 14 15:34:38 UTC 2024


On Wed, 13 Mar 2024 15:51:13 GMT, Oussama Louati <duke at openjdk.org> wrote:

>> Oussama Louati has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add --enable-preview to use classFile API, and fix test failing.
>
> 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?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18271#discussion_r1525088166


More information about the hotspot-runtime-dev mailing list