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

Oussama Louati duke at openjdk.org
Wed Mar 13 16:10:26 UTC 2024


On Wed, 13 Mar 2024 15:54:17 GMT, Chen Liang <liach 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 99:
> 
>> 97: 
>> 98:                         .withMethod(INIT_NAME, MTD_void, ACC_PUBLIC,
>> 99:                                 mb -> mb.withCode(
> 
> If you only add code to a method, you can use the `withMethodBody` shorthand instead of `withMethod` plus `withCode`

Done

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

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


More information about the hotspot-runtime-dev mailing list