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

Enum javadoc could link to JLS

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 6
    • core-libs
    • b48
    • generic
    • generic

      The Javadoc spec for java.lang.Enum could link to the corresponding section of the Java Language Spec, <http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.9>. This class is the obvious place for people to look if they want to know how to do things like find all the constants in an enumeration (see 6326977).

      The JLS spec already contains examples of things like the values() method and EnumSet, so probably java.lang.Enum doesn't need to repeat that.

            darcy Joe Darcy
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: