summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-02-21 21:14:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-02-21 21:14:00 (GMT)
commit399ef726f092237abb1039960edf837a38600813 (patch)
treedf5295147c30a9e675d56a901fe7303da995ece5 /java
parent0175224cb8210f4992b576a56bb9f66ca97af9c1 (diff)
downloadhdf5-399ef726f092237abb1039960edf837a38600813.zip
hdf5-399ef726f092237abb1039960edf837a38600813.tar.gz
hdf5-399ef726f092237abb1039960edf837a38600813.tar.bz2
HDFFV-11032 fix JNI call
Diffstat (limited to 'java')
-rw-r--r--java/src/hdf/hdf5lib/H5.java4
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,