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

(spec) Readable.read() incorrectly contains literal @return

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • 7
    • 6
    • core-libs

      FULL PRODUCT VERSION :


      ADDITIONAL OS VERSION INFORMATION :
      Linux hmpc 2.6.8-24.25-default #1 Thu Aug 24 09:57:32 UTC 2006 i686 athlon i386 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      Inside the javadoc comment of the method java.lang.Readable.read() the tag "@return" is written twice instead of just once. One of them remains literal.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Just read http://java.sun.com/javase/6/docs/api/java/lang/Readable.html

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Returns:
          The number of char values added to the buffer, or -1 if this source of characters is at its end
      ACTUAL -
      Returns:
          @return The number of char values added to the buffer, or -1 if this source of characters is at its end

      REPRODUCIBILITY :
      This bug can be reproduced always.

            Unassigned Unassigned
            ryeung Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: