RFR: 8294976: Convert Runtime classes to use the ClassFile API instead of ASM [v2]
Oussama Louati
duke at openjdk.org
Wed Mar 13 13:01:25 UTC 2024
On Wed, 13 Mar 2024 12:41:25 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Oussama Louati has updated the pull request incrementally with one additional commit since the last revision:
>>
>> use ConstantDescs for common class and method descriptors.
>
> test/hotspot/jtreg/runtime/finalStatic/FinalStatic.java line 78:
>
>> 76: .withFlags(ACC_PUBLIC | ACC_SUPER)
>> 77: .withSuperclass(ClassDesc.ofInternalName("java/lang/Object"))
>> 78: .withMethod("<init>", MethodTypeDesc.ofDescriptor("()V"), ACC_PUBLIC,
>
> Can use `ConstantDescs.INIT_NAME` and `ConstantDescs.MTD_void`, and `ConstantDescs.CD_Object` etc. for common class and method descriptors
Done
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18271#discussion_r1523214058
More information about the hotspot-runtime-dev
mailing list