From: suter Date: Wed, 17 Jul 2013 11:50:35 +0000 (+0200) Subject: don't allow java to attach user data to file (for now ... if a java X-Git-Tag: v3_9_90~128^2~66 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e75eb9cf239c06058afeba5e57096534a3990013?hp=b38338cc4115706f23bc5230df595e36d0ef2843 don't allow java to attach user data to file (for now ... if a java expert wants to deal with this, welcome) --- diff --git a/src/bindings/java/jmsg_file.c b/src/bindings/java/jmsg_file.c index 7e77c72e5c..ec40195a28 100644 --- a/src/bindings/java/jmsg_file.c +++ b/src/bindings/java/jmsg_file.c @@ -29,7 +29,7 @@ Java_org_simgrid_msg_File_open(JNIEnv *env, jobject jfile, jobject jstorage, job const char *path = (*env)->GetStringUTFChars(env, jpath, 0); msg_file_t file; - file = MSG_file_open(storage, path); + file = MSG_file_open(storage, path, NULL); jfile_bind(env, jfile, file); (*env)->ReleaseStringUTFChars(env, jstorage, storage);