From 151b538fec21b3fe1c3b46c61973635df5c291b9 Mon Sep 17 00:00:00 2001 From: navarrop Date: Wed, 7 Sep 2011 16:03:24 +0000 Subject: [PATCH] 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 --- src/jmsg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 2.20.1