JDK-8155052 : add notes and links to j.u.Observer/Observable deprecation comments
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-04-25
  • Updated: 2017-04-07
  • Resolved: 2017-03-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 9
10Fixed 9 b164Fixed
Related Reports
Relates :  
Relates :  
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."


A note should be added to j.u.Observer/Observable mentioning this and pointing to the Flow APIs.
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.