Integrated: 8339115: Rename TypeKind enum constants to follow code style

Chen Liang liach at openjdk.org
Fri Aug 30 17:31:34 UTC 2024


On Tue, 27 Aug 2024 22:15:17 GMT, Chen Liang <liach at openjdk.org> wrote:

> `TypeKind` enum constants are named in wrong code style; correct them before finalization.
> 
> Also improved `TypeKind` specification to talk about not mentioned `returnType`, `void`, and subword types being erased to int (and how). See the associated CSR too.
> 
> See the HTML output for the changed `JSpec` taglet's `6.5.newarray` rendering: https://cr.openjdk.org/~liach/8339115-typekind/java.base/java/lang/classfile/TypeKind.html
> 
> Note: when reviewing, please use https://cr.openjdk.org/~iris/se/23/spec/draft/java-se-23-draft-spec-37/ instead of JVMS 22 for reference; JVMS 23 has fixed a few ambiguities about subword types being absent from JVM's stack and locals.

This pull request has now been integrated.

Changeset: 25e03b52
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/25e03b52094f46f89f2fe8f20e7e5622928add5f
Stats:     753 lines in 38 files changed: 116 ins; 29 del; 608 mod

8339115: Rename TypeKind enum constants to follow code style

Reviewed-by: asotona

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

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


More information about the core-libs-dev mailing list