RFR(s): 8154801 deprecate java.util.Observable/Observer
Stuart Marks
stuart.marks at oracle.com
Mon Apr 25 21:35:38 UTC 2016
On 4/24/16 6:13 AM, Doug Lea wrote:
> 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. I'm not sure how to state this now in
> any @Deprecated docs or other Observable and Observer javadocs though.
Ah, good point! I can certainly add a note saying that these old
Observer/Observable types have nothing to do with reactive streams, and also add
a link to the Flow APIs.
I'll do this in a follow-on bug report: JDK-8155052.
s'marks
More information about the core-libs-dev
mailing list