RFR: 8304139: Add <init> and <clinit> method constants to ConstantDescs [v3]

Mandy Chung mchung at openjdk.org
Fri Mar 17 18:11:08 UTC 2023


On Fri, 17 Mar 2023 00:43:04 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Add String constants INIT_NAME, CLASS_INIT_NAME, MTD_void for the names and method type of instance and class initializers, as they are frequently used in the Classfile API. In addition, they appear frequently in the JDK itself as well.
>> 
>> Update occurrences of <init> and <clinit> in core libraries API specification to refer to these constants. The occurrences in code elsewhere will be converted separately for there are too many.
>> 
>> See https://mail.openjdk.org/pipermail/classfile-api-dev/2023-March/000233.html
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove main related constants, update specification for initialization constants

Marked as reviewed by mchung (Reviewer).

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

PR: https://git.openjdk.org/jdk/pull/13020


More information about the core-libs-dev mailing list