RFR: 8294976: Convert Runtime classes to use the ClassFile API instead of ASM
Chen Liang
liach at openjdk.org
Wed Mar 13 12:44:13 UTC 2024
On Wed, 13 Mar 2024 12:30:24 GMT, Oussama Louati <duke at openjdk.org> wrote:
> 8294976: Convert Runtime classes to use the ClassFile API instead of ASM
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
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18271#discussion_r1523164015
More information about the hotspot-runtime-dev
mailing list