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

Documentation of java.util.Observable

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      A DESCRIPTION OF THE REQUEST :
      The documentation of java.util.Observable doesn't say if it's safe for multiple threads to call its public methods (e.g., notifyObservers) on a shared instance.

      JUSTIFICATION :
      It complicates programming to have to synchronize calls to notifyObservers, especially when the callback does not require any explicit synchronization.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              smarks Stuart Marks
              Reporter:
              coffeys Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: