You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use an annotation to suppress the warning "warning: [deprecation] finalize() in Object has been deprecated" in src/tests/gov/nasa/jpf/test/mc/threads/FinalizerThreadTest.java:40.
For the time being, we want to keep this functionality to stay compatible with (rare) programs using finalizers. Once finalizers get removed for good (at the earliest, that would be with Java 12), and they are also removed from Android, we can remove this entire test and the JPF feature that supports finalizers.
However, in the near future, we need to keep this feature, so we just want to suppress the warning.
The text was updated successfully, but these errors were encountered:
gayanW
added a commit
to gayanW/jpf-core
that referenced
this issue
Jun 16, 2018
…"deprecation")
java.lang.Object#finalize is deprecated since Java 9.
gov.nasa.jpf.test.mc.threads.FinalizerThreadTest.Finalize#finalize is
not removed to stay compatible with (rare) programs using finalizers.
Fixes: javapathfinder#88
Use an annotation to suppress the warning "warning: [deprecation] finalize() in Object has been deprecated" in src/tests/gov/nasa/jpf/test/mc/threads/FinalizerThreadTest.java:40.
For the time being, we want to keep this functionality to stay compatible with (rare) programs using finalizers. Once finalizers get removed for good (at the earliest, that would be with Java 12), and they are also removed from Android, we can remove this entire test and the JPF feature that supports finalizers.
However, in the near future, we need to keep this feature, so we just want to suppress the warning.
The text was updated successfully, but these errors were encountered: