RFR: 8257639: Update usage of "type" terminology in java.lang.Enum & java.lang.Record [v2]
Chris Hegarty
chegar at openjdk.java.net
Tue Dec 8 16:28:12 UTC 2020
On Tue, 8 Dec 2020 16:21:09 GMT, Julia Boes <jboes at openjdk.org> wrote:
>> This change applies a stricter semantic distinction of 'type' versus 'class and interface'. This is based on the JLS changes described in the "Consistent Class and Interface Terminology" document: https://download.java.net/java/early_access/jdk16/docs/specs/class-terminology-jls.html.
>>
>> The following rules were applied:
>> - 'class' and/or 'interface' are used when referring to the class/interface itself
>> - 'type' is used when referring to the type of a variable or expression
>
> Julia Boes has updated the pull request incrementally with one additional commit since the last revision:
>
> adjust 1 change in Enum.java
Marked as reviewed by chegar (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/1670
More information about the core-libs-dev
mailing list