/* Functions related to the java file API. */
-/* Copyright (c) 2012. The SimGrid Team.
+/* Copyright (c) 2012-2013. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
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);