Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines with new year.
[simgrid.git] / src / bindings / java / org / simgrid / msg / Semaphore.java
index eb49862..38fbcda 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2018. The SimGrid Team.
+/* Copyright (c) 2012-2020. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -66,8 +66,11 @@ public class Semaphore {
        }
 
 
-       /** Deletes this semaphore when the GC reclaims it */
-       @Override
+       /**
+        * Deletes this semaphore when the GC reclaims it
+        * @deprecated (from Java9 onwards)
+        */
+       @Deprecated @Override
        protected void finalize() throws Throwable {
                nativeFinalize();
        }
@@ -80,4 +83,4 @@ public class Semaphore {
                org.simgrid.NativeLib.nativeInit();
                nativeInit();
        }
-}
\ No newline at end of file
+}