protected Comm() {
}
- /** Destroy the C communication object, when the GC reclaims the java part. */
- @Override
+ /**
+ * Destroy the C communication object, when the GC reclaims the java part.
+ * @deprecated (from Java9 onwards)
+ */
+ @Deprecated @Override
protected void finalize() throws Throwable{
nativeFinalize();
}