From e75eb9cf239c06058afeba5e57096534a3990013 Mon Sep 17 00:00:00 2001 From: suter Date: Wed, 17 Jul 2013 13:50:35 +0200 Subject: [PATCH] don't allow java to attach user data to file (for now ... if a java expert wants to deal with this, welcome) --- src/bindings/java/jmsg_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1