A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jxbt_throw_null needs a string. no need to bprintf
[simgrid.git]
/
src
/
bindings
/
java
/
jmsg_storage.cpp
diff --git
a/src/bindings/java/jmsg_storage.cpp
b/src/bindings/java/jmsg_storage.cpp
index
2d3a029
..
7b5003f
100644
(file)
--- a/
src/bindings/java/jmsg_storage.cpp
+++ b/
src/bindings/java/jmsg_storage.cpp
@@
-56,7
+56,7
@@
JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Storage_getByName(JNIEnv * env, j
/* get the C string from the java string */
if (jname == nullptr) {
/* get the C string from the java string */
if (jname == nullptr) {
- jxbt_throw_null(env,
bprintf("No host can have a null name")
);
+ jxbt_throw_null(env,
"No host can have a null name"
);
return nullptr;
}
const char *name = env->GetStringUTFChars(jname, 0);
return nullptr;
}
const char *name = env->GetStringUTFChars(jname, 0);