}
/** Destroy the C communication object, when the GC reclaims the java part. */
- @Override
+ @Deprecated @Override
protected void finalize() throws Throwable{
nativeFinalize();
}
init();
}
- @Override
+ @Deprecated @Override
protected void finalize() throws Throwable {
nativeFinalize();
}
*/
private native void create(String name);
- @Override
+ @Deprecated @Override
protected void finalize() throws Throwable{
nativeFinalize();
}
/** Deletes this semaphore when the GC reclaims it */
- @Override
+ @Deprecated @Override
protected void finalize() throws Throwable {
nativeFinalize();
}
org.simgrid.NativeLib.nativeInit();
nativeInit();
}
-}
\ No newline at end of file
+}
public native void cancel();
/** Deletes a task once the garbage collector reclaims it */
- @Override
+ @Deprecated @Override
protected void finalize() throws Throwable{
nativeFinalize();
bind=0; // to avoid segfaults if the impossible happens yet again making this task surviving its finalize()
public static native VM getVMByName(String name);
/* Make sure that the GC also destroys the C object */
+ @Deprecated @Override
protected void finalize() throws Throwable {
nativeFinalize();
}