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

add notes and links to j.u.Observer/Observable deprecation comments

    Details

    • Subcomponent:
    • Resolved In Build:
      b164
    • Verification:
      Not verified

      Backports

        Description

        In reference to deprecation of j.u.Observer/Observable, Doug Lea says,

        "These days, anyone encountering these is probably hitting them
        by mistake while using RxJava or other reactive-stream frameworks.
        In which case, users will normally want to instead use the jdk9
        java.util.concurrent.Flow APIs that all reactive-streams frameworks
        should be compatible/interoperable with in their planned upcoming
        jdk9-compatible versions."

        http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-April/040473.html

        A note should be added to j.u.Observer/Observable mentioning this and pointing to the Flow APIs.

          Issue Links

            Activity

            Hide
            smarks Stuart Marks added a comment - - edited
            Also add a link to the beans properties/events model. Probably

            http://docs.oracle.com/javase/8/docs/technotes/guides/beans/index.html

            In particular, the JavaBeans specification chapter 6 covers the beans event model. Also, the JavaBeans trail of the Java Tutorial (linked from that page) has a section "Events" within the "Writing JavaBeans Components" chapter.

            UPDATE: the technotes/guides stuff is in flux, so adding a link to it will probably be broken immediately. The existing doc mentions java.beans, whose package doc has more information and links (albeit broken ones) so that's probably sufficient for now.
            Show
            smarks Stuart Marks added a comment - - edited Also add a link to the beans properties/events model. Probably http://docs.oracle.com/javase/8/docs/technotes/guides/beans/index.html In particular, the JavaBeans specification chapter 6 covers the beans event model. Also, the JavaBeans trail of the Java Tutorial (linked from that page) has a section "Events" within the "Writing JavaBeans Components" chapter. UPDATE: the technotes/guides stuff is in flux, so adding a link to it will probably be broken immediately. The existing doc mentions java.beans, whose package doc has more information and links (albeit broken ones) so that's probably sufficient for now.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/a1d25a8fdc98
            User: smarks
            Date: 2017-03-30 18:55:11 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/a1d25a8fdc98 User: smarks Date: 2017-03-30 18:55:11 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/a1d25a8fdc98
            User: lana
            Date: 2017-04-05 18:30:57 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/a1d25a8fdc98 User: lana Date: 2017-04-05 18:30:57 +0000

              People

              • Assignee:
                smarks Stuart Marks
                Reporter:
                smarks Stuart Marks
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: