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

Observable class deprecated in java 9

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.12.x
    • Fix Version/s: None
    • Component/s: WSClient
    • Labels:
      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

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

              Dates

              Created:
              Updated: