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

Strange or obsolete @see tags in some exception java.lang javadoc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • core-libs
    • b43
    • generic
    • generic
    • Verified

      Some widely-used exceptions which were defined in the old Java 1.0 days have strange or obsolete javadoc "@see" tags:
      http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html
      IllegalArgumentException declares "@see Thread#setPriority(int)". Why is Thread.setPriority(int) so special in regard to IllegalArgumentException?
      http://docs.oracle.com/javase/7/docs/api/java/lang/NumberFormatException.html
      NumberFormatException declares "@see Integer#toString()". Shouldn't it be "@see Integer#parseInt(String)" instead?
      ...
      -------------
      Reported by:
      From: Martin Desruisseaux <###@###.###>
      Subject: Strange or obsolete @see tags in some exception javadoc
      Date: January 12, 2012 03:30:16 PST
      To: ###@###.###

            jgish Jim Gish (Inactive)
            jgish Jim Gish (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: