Integrated: 8257639: Update usage of "type" terminology in java.lang.Enum & java.lang.Record
Julia Boes
jboes at openjdk.java.net
Wed Dec 9 09:35:37 UTC 2020
On Mon, 7 Dec 2020 17:31:34 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
This pull request has now been integrated.
Changeset: 5bdce9b9
Author: Julia Boes <jboes at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/5bdce9b9
Stats: 24 lines in 2 files changed: 0 ins; 0 del; 24 mod
8257639: Update usage of "type" terminology in java.lang.Enum & java.lang.Record
Reviewed-by: chegar, dfuchs
-------------
PR: https://git.openjdk.java.net/jdk/pull/1670
More information about the core-libs-dev
mailing list