summaryrefslogtreecommitdiffstats
path: root/java/src/hdf
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-08-22 18:07:01 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-08-22 18:07:01 (GMT)
commit241dc68b484846a96c09fd9179cac699dd561cdc (patch)
tree8580865fc0dfd239c58e5182a9105751121e5c2f /java/src/hdf
parent3c331b231aff312d116efdec94109fffd047ccf2 (diff)
downloadhdf5-241dc68b484846a96c09fd9179cac699dd561cdc.zip
hdf5-241dc68b484846a96c09fd9179cac699dd561cdc.tar.gz
hdf5-241dc68b484846a96c09fd9179cac699dd561cdc.tar.bz2
[svn-r30315] HDFFV-9972: Fix test reference and change default for H5Iget_name in JNI API.
Diffstat (limited to 'java/src/hdf')
-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 e5defe3..7614292 100644
--- a/java/src/hdf/hdf5lib/H5.java
+++ b/java/src/hdf/hdf5lib/H5.java
@@ -3352,7 +3352,7 @@ public class H5 implements java.io.Serializable {
public synchronized static native long H5Iget_file_id(long obj_id) throws HDF5LibraryException;
@Deprecated
- public synchronized static native long H5Iget_name(long obj_id, String[] name, long size)
+ public synchronized static native long H5Iget_name_long(long obj_id, String[] name, long size)
throws HDF5LibraryException, NullPointerException;
/**
* H5Iget_name_str retrieves the name of an object specified by the identifier, obj_id.
@@ -3365,7 +3365,7 @@ public class H5 implements java.io.Serializable {
* @exception HDF5LibraryException
* - Error from the HDF-5 Library.
**/
- public synchronized static native String H5Iget_name_str(long obj_id)
+ public synchronized static native String H5Iget_name(long obj_id)
throws HDF5LibraryException;
public synchronized static native int H5Iget_ref(long obj_id) throws HDF5LibraryException, NullPointerException;