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

(doc) Javadoc for AtomicInteger (et.al.) missing information - get() v.s. intValue()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: tbd_major
    • Component/s: core-libs
    • Labels:

      Description

      FULL PRODUCT VERSION :
      A DESCRIPTION OF THE PROBLEM :
      The javadoc for AtomicInteger and the other atomic number classes should state if get() and intValue() are equivalent, or if they are not it should document any differences.

      The other xxxValue() methods inherited from Number should also clarified.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      read the documentation

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      the reader should understand if the the xxxValue() methods are equivalent
      ACTUAL -
      the reader is left to assume that this is true

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      read the source

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              martin Martin Buchholz
              Reporter:
              rmandalasunw Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: