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

java.lang.Enum isn't ready for prime time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • core-libs
    • generic
    • solaris_8

      The following comments from a code review of Enum.java must be addressed
      before we go out into beta.

      > [44] This is still not a very good first sentence.
      > [111] Missing "@param o", "@throws ClassCastException", "@returns"
      > [121 - 122] There's a bug to track this comment right? We don't
      > want to ship without this bug (and the javadoc) getting fixed.
      > [130] Same comment/question as last. I don't think that you should call it
      > a "prototype" after it goes back in to the workspace.
      > [133] Missing "@param" tags, "@returns", "@throws IllegalArgumentException"
      > (Of course they will not be necessary when the method is entirely
      > removed.)
      > [145] Missing "@throws InvalidObjectException".

            jjb Josh Bloch
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: