diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-02-21 21:14:00 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:55 (GMT) |
commit | a2dc6e02852e45630379eed89d137bcf0afb613a (patch) | |
tree | 6e02cda00d7dcce3bbe7eb76c468a134ecc8ecc1 /java/src | |
parent | 422f5adebed49e6476cb54e2acb3e0b8db6ac558 (diff) | |
download | hdf5-a2dc6e02852e45630379eed89d137bcf0afb613a.zip hdf5-a2dc6e02852e45630379eed89d137bcf0afb613a.tar.gz hdf5-a2dc6e02852e45630379eed89d137bcf0afb613a.tar.bz2 |
HDFFV-11032 fix JNI call
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/hdf/hdf5lib/H5.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java index 872fbc7..1527dc2 100644 --- a/java/src/hdf/hdf5lib/H5.java +++ b/java/src/hdf/hdf5lib/H5.java @@ -3590,7 +3590,7 @@ public class H5 implements java.io.Serializable { * - name is null. */ public synchronized static int H5Gget_obj_info_all(long loc_id, String name, String[] objNames, int[] objTypes, - H5O_token_t[] tokens) throws HDF5LibraryException, NullPointerException { + H5O_token_t[] tokens) throws HDF5LibraryException, NullPointerException { if (objNames == null) { throw new NullPointerException("H5Gget_obj_info_all(): name array is null"); } @@ -3605,7 +3605,7 @@ public class H5 implements java.io.Serializable { public synchronized static int H5Gget_obj_info_all(long loc_id, String name, String[] oname, int[] otype, int[] ltype, long[] fno, H5O_token_t[] tokens, int indx_type) throws HDF5LibraryException, NullPointerException { - return H5Gget_obj_info_full(loc_id, name, oname, otype, ltype, fno, tokens, oname.length, indx_type, -1); + return H5Gget_obj_info_full(loc_id, name, oname, otype, ltype, fno, tokens, indx_type, -1); } public synchronized static int H5Gget_obj_info_full(long loc_id, String name, String[] oname, int[] otype, |