Am 16.07.2018 um 13:40 schrieb Bruno P. Kinoshita:
Saw some recent activity around lang 3.8, and remembered about this issue, and
then looked for this thread.
Gilles' point is really good! Here's the Java 9 docs with the deprecation
warning, copied below as well
https://docs.oracle.com/javase/9/docs/api/index.html?java/util/Observable.html
"This class and the Observer interface have been deprecated. The event model
supported by Observer and Observable is quite limited, the order of notifications
delivered by Observable is unspecified, and state changes are not in one-for-one
correspondence with notifications. For a richer event model, consider using the
java.beans package. For reliable and ordered messaging among threads, consider using one
of the concurrent data structures in the java.util.concurrent package. For reactive
streams style programming, see the Flow API."
So I guess the best we can do right now is add the @deprecated annotations,
with an explanation in the javadocs. And also add a note about it in the
release notes.
Does that sound like a good plan?
Sounds good to me!
Cheers,
Pascal
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org