summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5pDXPLImp.c
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2019-02-12 17:41:55 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2019-02-12 17:56:42 (GMT)
commit3acd486b83f319579b1c6884c90289b0eb1d44a6 (patch)
treef4b0093c1915d2fbd704ea1948b80ba089ab82f5 /java/src/jni/h5pDXPLImp.c
parent8f42566f7ac087504c115c7d98b79c56604c2ebe (diff)
downloadhdf5-3acd486b83f319579b1c6884c90289b0eb1d44a6.zip
hdf5-3acd486b83f319579b1c6884c90289b0eb1d44a6.tar.gz
hdf5-3acd486b83f319579b1c6884c90289b0eb1d44a6.tar.bz2
Fixes for JNI updates
Diffstat (limited to 'java/src/jni/h5pDXPLImp.c')
-rw-r--r--java/src/jni/h5pDXPLImp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/jni/h5pDXPLImp.c b/java/src/jni/h5pDXPLImp.c
index 2bdc36b..323fa8c 100644
--- a/java/src/jni/h5pDXPLImp.c
+++ b/java/src/jni/h5pDXPLImp.c
@@ -273,6 +273,9 @@ Java_hdf_hdf5lib_H5_H5Pset_1data_1transform
UNUSED(clss);
+ if (NULL == expression)
+ H5_NULL_ARGUMENT_ERROR(ENVONLY, "H5Pset_data_transform: data transform expression is NULL");
+
PIN_JAVA_STRING(ENVONLY, expression, express, NULL, "H5Pset_data_transform: data transform expression not pinned");
if ((retVal = H5Pset_data_transform((hid_t)plist_id, express)) < 0)