24 Apr
2016
24 Apr
'16
1:13 p.m.
On 04/21/2016 10:17 PM, Stuart Marks wrote:
Hi all,
Here's a small proposal to deprecate the java.util.Observable and Observer. This deprecation will not be for removal.
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. -Doug