From c3e64cb01c446d3ff75e09c5f9122f71d21f82f9 Mon Sep 17 00:00:00 2001 From: Stuart Marks Date: Thu, 30 Mar 2017 11:26:31 -0700 Subject: [PATCH] 8155052: add notes and links to j.u.Observer/Observable deprecation comments Reviewed-by: chegar --- jdk/src/java.base/share/classes/java/util/Observable.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jdk/src/java.base/share/classes/java/util/Observable.java b/jdk/src/java.base/share/classes/java/util/Observable.java index b19830bb64e..d71bf5d5d4c 100644 --- a/jdk/src/java.base/share/classes/java/util/Observable.java +++ b/jdk/src/java.base/share/classes/java/util/Observable.java @@ -69,6 +69,8 @@ package java.util; * {@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 {