Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274255

Update javac messages to use "enum class" rather than "enum type"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b17

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              darcy Joe Darcy
              Reporter:
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: