Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't try to survive to native exceptions
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 19 Aug 2016 21:30:28 +0000 (23:30 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 19 Aug 2016 21:30:34 +0000 (23:30 +0200)
src/bindings/java/org/simgrid/msg/VM.java

index f025de2..e59f88f 100644 (file)
@@ -64,11 +64,7 @@ public class VM extends Host{
        }
        
        public void destroy() {
-               try {
-                       nativeFinalize();
-               } catch (Exception e) {
-                       e.printStackTrace();
-               }
+               nativeFinalize();
        }
        private native void nativeFinalize();