8155052: add notes and links to j.u.Observer/Observable deprecation comments
Reviewed-by: chegar
--- a/jdk/src/java.base/share/classes/java/util/Observable.java Thu Mar 30 17:23:52 2017 +0000
+++ b/jdk/src/java.base/share/classes/java/util/Observable.java Thu Mar 30 11:26:31 2017 -0700
@@ -69,6 +69,8 @@
* {@link java.beans} package. For reliable and ordered
* messaging among threads, consider using one of the concurrent data
* structures in the {@link java.util.concurrent} package.
+ * For reactive streams style programming, see the
+ * {@link java.util.concurrent.Flow} API.
*/
@Deprecated(since="9")
public class Observable {