Integrated: 8304139: Add <init> and <clinit> method constants to ConstantDescs
Chen Liang
liach at openjdk.org
Tue Mar 21 16:19:38 UTC 2023
On Tue, 14 Mar 2023 14:30:32 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
This pull request has now been integrated.
Changeset: 019fcd81
Author: Chen Liang <liach at openjdk.org>
Committer: Mandy Chung <mchung at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/019fcd819c4f24e6c9de9d4f9fc64b8db6bc6cfa
Stats: 56 lines in 7 files changed: 35 ins; 0 del; 21 mod
8304139: Add <init> and <clinit> method constants to ConstantDescs
Reviewed-by: mchung
-------------
PR: https://git.openjdk.org/jdk/pull/13020
More information about the core-libs-dev
mailing list