Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
trace initialization requires some more love concerning native libs
[simgrid.git] / org / simgrid / trace / Trace.java
index 57ea5a2..f90f83b 100644 (file)
@@ -1,19 +1,21 @@
-package org.simgrid.trace;
-
 /*
  * JNI interface to C code for the TRACES part of SimGrid.
  * 
- * Copyright 2006,2007,2010,2011, 2012 The SimGrid Team.           
+ * Copyright 2012 The SimGrid Team.           
  * All right reserved. 
  *
  * This program is free software; you can redistribute 
  * it and/or modify it under the terms of the license 
  * (GNU LGPL) which comes with this package.
  */
+package org.simgrid.trace;
+
+import org.simgrid.msg.Msg;
 
 public final class Trace {
        /* Statically load the library which contains all native functions used in here */
        static {
+               Msg.nativeInit();
                try {
                        System.loadLibrary("SG_java_tracing");
                } catch(UnsatisfiedLinkError e) {