Projog contains ProjogEventsObservable to allow clients to receive notification of events. It uses java.util.Observable and java.util.Observer. These classes are deprecated in Java 9. In anticipation of this, move towards using a Projog specific listener interface instead.
Projog contains
ProjogEventsObservable
to allow clients to receive notification of events. It usesjava.util.Observable
andjava.util.Observer
. These classes are deprecated in Java 9. In anticipation of this, move towards using a Projog specific listener interface instead.Further reading:
https://stackoverflow.com/questions/46380073/observer-is-deprecated-in-java-9-what-should-we-use-instead-of-it https://bugs.openjdk.java.net/browse/JDK-8154801