Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix execution on mac but need to be uncommented later.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 7 Sep 2011 16:03:24 +0000 (16:03 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 7 Sep 2011 16:03:24 +0000 (16:03 +0000)
On mac this line donesn't work.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-java@9907 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/jmsg.c

index 30b5c2a..852e755 100644 (file)
@@ -104,10 +104,9 @@ Java_org_simgrid_msg_MsgNative_processCreate(JNIEnv * env, jclass cls,
   MSG_process_set_data(process,&process);
    
   /* release our reference to the process name (variable name becomes invalid) */
   MSG_process_set_data(process,&process);
    
   /* release our reference to the process name (variable name becomes invalid) */
-  (*env)->ReleaseStringUTFChars(env, jname, name);
+  //FIXME : This line should be uncommented but with mac it doesn't work. BIG WARNING
+  //(*env)->ReleaseStringUTFChars(env, jname, name);
    
    
-
-
   /* bind the java process instance to the native process */
   jprocess_bind(jprocess, process, env);
 
   /* bind the java process instance to the native process */
   jprocess_bind(jprocess, process, env);