Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modernize FindSimGrid
[simgrid.git] / src / bindings / java / org / simgrid / msg / Mutex.java
index d670f55..77a72ca 100644 (file)
@@ -17,13 +17,10 @@ public class Mutex {
        public Mutex() {
                init();
        }
+
        @Override
-       protected void finalize() {
-               try {
-                       nativeFinalize();
-               } catch (Throwable e) {
-                       e.printStackTrace();
-               }
+       protected void finalize() throws Throwable {
+               nativeFinalize();
        }
        private native void nativeFinalize();
        private native void init();