summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-10 19:19:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-10 19:19:29 (GMT)
commite20331651e34a043bd54826169b21e776bb09816 (patch)
treeaeb3489bda8b15d80d788b6262f76bb8bbda2694
parentafb07f9b3932633686a262f0b91a00993acb112f (diff)
downloadhdf5-e20331651e34a043bd54826169b21e776bb09816.zip
hdf5-e20331651e34a043bd54826169b21e776bb09816.tar.gz
hdf5-e20331651e34a043bd54826169b21e776bb09816.tar.bz2
revert as CHECK will first check for exception
-rw-r--r--java/src/jni/h5pFAPLImp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/src/jni/h5pFAPLImp.c b/java/src/jni/h5pFAPLImp.c
index b7e351a..006707a 100644
--- a/java/src/jni/h5pFAPLImp.c
+++ b/java/src/jni/h5pFAPLImp.c
@@ -467,7 +467,7 @@ Java_hdf_hdf5lib_H5_H5Pset_1fapl_1hdfs
CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (NULL == (j_str = (jstring)ENVPTR->GetObjectField(ENVONLY, fapl_config, fid)))
- CHECK_JNI_EXCEPTION(ENVONLY, JNI_TRUE);
+ CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (j_str) {
PIN_JAVA_STRING(ENVONLY, j_str, str, NULL, "H5FDset_fapl_hdfs: fapl_config namenode_name not pinned");
@@ -491,7 +491,7 @@ Java_hdf_hdf5lib_H5_H5Pset_1fapl_1hdfs
CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (NULL == (j_str = (jstring)ENVPTR->GetObjectField(ENVONLY, fapl_config, fid)))
- CHECK_JNI_EXCEPTION(ENVONLY, JNI_TRUE);
+ CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (j_str) {
PIN_JAVA_STRING(ENVONLY, j_str, str, NULL, "H5FDset_fapl_hdfs: fapl_config user_name not pinned");
@@ -509,7 +509,7 @@ Java_hdf_hdf5lib_H5_H5Pset_1fapl_1hdfs
CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (NULL == (j_str = (jstring)ENVPTR->GetObjectField(ENVONLY, fapl_config, fid)))
- CHECK_JNI_EXCEPTION(ENVONLY, JNI_TRUE);
+ CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (j_str) {
PIN_JAVA_STRING(ENVONLY, j_str, str, NULL, "H5FDset_fapl_hdfs: fapl_config kerberos_ticket_cache not pinned");
@@ -883,7 +883,7 @@ Java_hdf_hdf5lib_H5_H5Pset_1fapl_1ros3
CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (NULL == (j_str = (jstring)ENVPTR->GetObjectField(ENVONLY, fapl_config, fid)))
- CHECK_JNI_EXCEPTION(ENVONLY, JNI_TRUE);
+ CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (j_str) {
PIN_JAVA_STRING(ENVONLY, j_str, str, NULL, "H5Pset_fapl_ros3: fapl_config aws_region not pinned");
@@ -901,7 +901,7 @@ Java_hdf_hdf5lib_H5_H5Pset_1fapl_1ros3
CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (NULL == (j_str = (jstring)ENVPTR->GetObjectField(ENVONLY, fapl_config, fid)))
- CHECK_JNI_EXCEPTION(ENVONLY, JNI_TRUE);
+ CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (j_str) {
PIN_JAVA_STRING(ENVONLY, j_str, str, NULL, "H5Pset_fapl_ros3: fapl_config secret_id not pinned");
@@ -919,7 +919,7 @@ Java_hdf_hdf5lib_H5_H5Pset_1fapl_1ros3
CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (NULL == (j_str = (jstring)ENVPTR->GetObjectField(ENVONLY, fapl_config, fid)))
- CHECK_JNI_EXCEPTION(ENVONLY, JNI_TRUE);
+ CHECK_JNI_EXCEPTION(ENVONLY, JNI_FALSE);
if (j_str) {
PIN_JAVA_STRING(ENVONLY, j_str, str, NULL, "H5Pset_fapl_ros3: fapl_config secret_key not pinned");