protected Comm() {
}
- /** Destroy the C communication object, when the GC reclaims the java part. */
+ /**
+ * Destroy the C communication object, when the GC reclaims the java part.
+ * @deprecated (from Java9 onwards)
+ */
@Deprecated @Override
protected void finalize() throws Throwable{
nativeFinalize();
init();
}
+ /** @deprecated (from Java9 onwards) */
@Deprecated @Override
protected void finalize() throws Throwable {
nativeFinalize();
*/
private native void create(String name);
+ /** @deprecated (from Java9 onwards) */
@Deprecated @Override
protected void finalize() throws Throwable{
nativeFinalize();
}
- /** Deletes this semaphore when the GC reclaims it */
+ /**
+ * Deletes this semaphore when the GC reclaims it
+ * @deprecated (from Java9 onwards)
+ */
@Deprecated @Override
protected void finalize() throws Throwable {
nativeFinalize();
/** Cancels a task. */
public native void cancel();
- /** Deletes a task once the garbage collector reclaims it */
+ /**
+ * Deletes a task once the garbage collector reclaims it
+ * @deprecated (from Java9 onwards)
+ */
@Deprecated @Override
protected void finalize() throws Throwable{
nativeFinalize();
/** Retrieve a VM from its name */
public static native VM getVMByName(String name);
- /* Make sure that the GC also destroys the C object */
+ /**
+ * Make sure that the GC also destroys the C object
+ * @deprecated (from Java9 onwards)
+ */
@Deprecated @Override
protected void finalize() throws Throwable {
nativeFinalize();