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

Typo in javadocs in javax/naming

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 1.4.0
    • core-libs
    • b04
    • x86
    • windows_nt



      Name: jk109818 Date: 05/08/2002


      FULL PRODUCT VERSION :
      java version "1.3.1_02"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
      Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)

      BUT THIS IS NOT REALLY RELEVANT.

      ALL PLATFORMS


      A DESCRIPTION OF THE PROBLEM :
      The class description in the javadoc for LinkLoopException
      in 1.3.1 and 1.4 on java.sun.com says:

      "This exception is thrown when a loop was detected will
      attempting to resolve a link, or an implementation specific
      limit on link counts has been reached."

      It should say "when a loop was detected while attempting"

      And as long as you are touching this file anyway,
      I might as well be fussy. In the same class, the
      description of the constructor with string argument says:

      "LinkLoopException(String explanation)
      Constructs a new instance of LinkLoopException with an
      explanation All the other fields are initialized to null."

      It needs a period:

      "LinkLoopException(String explanation)
      Constructs a new instance of LinkLoopException with an
      explanation. All the other fields are initialized to null."


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Look up the javadoc for the LinkLoopException class on
      java.sun.com for J2SE 1.3.1 or J2SE 1.4

      This bug can be reproduced always.
      (Review ID: 146338)
      ======================================================================

            igerasim Ivan Gerasimov
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: