-/* Copyright (c) 2012-2019. The SimGrid Team.
+/* Copyright (c) 2012-2023. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
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();
}
static {
org.simgrid.NativeLib.nativeInit();
nativeInit();
- }
+ }
}