From: navarrop Date: Wed, 7 Sep 2011 16:03:24 +0000 (+0000) Subject: Fix execution on mac but need to be uncommented later. X-Git-Tag: v3_9_90~569^2~19^2~183 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/151b538fec21b3fe1c3b46c61973635df5c291b9 Fix execution on mac but need to be uncommented later. 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 --- diff --git a/src/jmsg.c b/src/jmsg.c index 30b5c2a61a..852e755d31 100644 --- a/src/jmsg.c +++ b/src/jmsg.c @@ -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) */ - (*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);