JDK-8274255 : Update javac messages to use "enum class" rather than "enum type"
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-09-24
  • Updated: 2021-09-30
  • Resolved: 2021-09-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 18
18 b17Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
After a terminology update in JavaSE 16, the JLS uses the phrase "enum classes" rather than "enum types": compare

https://docs.oracle.com/javase/specs/jls/se15/html/jls-8.html#jls-8.9
https://docs.oracle.com/javase/specs/jls/se17/html/jls-8.html#jls-8.9

The messages in javac's compiler properties should be aligned with the revised wording.

 See "Consistent Class and Interface Terminology" document:
https://download.java.net/java/early_access/jdk16/docs/specs/class-terminology-jls.html
for the full terminology update.

Comments
Changeset: 172900da Author: Joe Darcy <darcy@openjdk.org> Date: 2021-09-27 16:28:17 +0000 URL: https://git.openjdk.java.net/jdk/commit/172900dab133aad9029c904101ff9ddaaced6a8f
27-09-2021

Noticed during work on JDK-8202056.
24-09-2021