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

Rename TypeKind enum constants to follow code style

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 24
    • 24
    • core-libs
    • None

      `java.lang.classfile.TypeKind`'s enum constants are named like `IntType`, in upper camel case, which is used for class names. It should be named in upper snake case like `INT`, and the "type" suffix can be dropped.

      Also improve the API specification of TypeKind, that it is the data types JVM operates on, and link to JVMS.

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: