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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 5.0
    • core-libs

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: