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

@since for Integer.decode(String) is wrong in JDK 1.4 docs

XMLWordPrintable

    • b81
    • x86
    • windows_xp

      Name: jl125535 Date: 07/12/2002


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

      A DESCRIPTION OF THE PROBLEM :
      The @since JavaDoc tag on the Integer.decode(String) method says "1.2", when in
      fact, this method has been in since at least 1.1.8. See http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html#decode(java.lang.String) and http://java.sun.com/products/jdk/1.1/docs/api/java.lang.Integer.html#decode(java.lang.String).

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Look at the JavaDoc for Integer.decode(String).

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      No @since tag, like the 1.3.1 docs, or an @since tag that is 1.1 or earlier.

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

            martin Martin Buchholz
            jleesunw Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: