Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't allow java to attach user data to file (for now ... if a java
authorsuter <frederic.suter@cc.in2p3.fr>
Wed, 17 Jul 2013 11:50:35 +0000 (13:50 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Wed, 17 Jul 2013 11:50:35 +0000 (13:50 +0200)
expert wants to deal with this, welcome)

src/bindings/java/jmsg_file.c

index 7e77c72..ec40195 100644 (file)
@@ -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);