Uploaded image for project: 'JAPI'
  1. JAPI
  2. JAPI-370

Observable class deprecated in java 9

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 7.12.x
    • None
    • WSClient
    • None

    Description

      /wsclient/src/main/java/org/hpccsystems/ws/client/platform/FileSprayWorkunit.java

      java.util.Observable

      @Deprecated(since="9")

      Deprecated. This class and the Observer interface have been deprecated.The event model supported by Observer and Observableis quite limited, the order of notifications delivered by Observable is unspecified, and state changes are not inone-for-one correspondence with notifications.For a richer event model, consider using the java.beans package. For reliable and orderedmessaging among threads, consider using one of the concurrent datastructures in the java.util.concurrent package.For reactive streams style programming, see the java.util.concurrent.Flow API.

      Attachments

        Activity

          People

            rpastrana Rodrigo Pastrana
            Michael-Gardner Michael Gardner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: