diff options
| author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-09 20:35:51 (GMT) |
|---|---|---|
| committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-09 20:35:51 (GMT) |
| commit | c33f2cbf18b4cc0aafedfe2d1cc29ed7730c91f6 (patch) | |
| tree | 4dea4f12bddcd8dcd114a611173809bbdeda3686 /java/src | |
| parent | de217a64998c841e784c3f60e031da9e0041feb5 (diff) | |
| parent | 88ab4b144bcf8454be9eff8800706c0abb404de1 (diff) | |
| download | hdf5-c33f2cbf18b4cc0aafedfe2d1cc29ed7730c91f6.zip hdf5-c33f2cbf18b4cc0aafedfe2d1cc29ed7730c91f6.tar.gz hdf5-c33f2cbf18b4cc0aafedfe2d1cc29ed7730c91f6.tar.bz2 | |
Merge pull request #1791 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '88ab4b144bcf8454be9eff8800706c0abb404de1':
fix var name
Fix compile error with ifdef H5_HAVE_GETHOSTNAME
perf program can only be built on unix platforms
Declaration needed for parallel standalone
Correct test use of library name
Change how name is retrieved
Move before null check
HDFFV-10581 remove special name checking
HDFFV-10581 fix locations for static pdb files
Diffstat (limited to 'java/src')
| -rw-r--r-- | java/src/jni/h5lImp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/jni/h5lImp.c b/java/src/jni/h5lImp.c index 7413023..7eee3d4 100644 --- a/java/src/jni/h5lImp.c +++ b/java/src/jni/h5lImp.c @@ -508,11 +508,11 @@ Java_hdf_hdf5lib_H5_H5Lget_1value_1by_1idx UNUSED(clss); + infobuf.type = H5L_TYPE_ERROR; + if (NULL == name) H5_NULL_ARGUMENT_ERROR(ENVONLY, "H5Lget_val_by_idx: group name is NULL"); - infobuf.type = H5L_TYPE_ERROR; - PIN_JAVA_STRING(ENVONLY, name, grpName, NULL, "H5Lget_val_by_idx: group name not pinned"); /* Get the length of the link value */ |
