summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-12-21 18:07:25 (GMT)
committerGitHub <noreply@github.com>2022-12-21 18:07:25 (GMT)
commit9f5cf0a45748fcb7ced4f4619d7c6c76cb3f67ab (patch)
tree2f237d0865fa37db7ad56d7182978db4258488fa /java
parent976e8c97504cfbce40c565b02a01d29006350c6b (diff)
downloadhdf5-9f5cf0a45748fcb7ced4f4619d7c6c76cb3f67ab.zip
hdf5-9f5cf0a45748fcb7ced4f4619d7c6c76cb3f67ab.tar.gz
hdf5-9f5cf0a45748fcb7ced4f4619d7c6c76cb3f67ab.tar.bz2
H5F_LIBVER_LATEST changes for move to 1.15 (#2288)
* H5F_LIBVER_LATEST changes for move to 1.15 * Add new default api check * Format fixes * Fix default configure * fix lib version tests * Fix another version variable * Add 1.14 doc link
Diffstat (limited to 'java')
-rw-r--r--java/src/hdf/hdf5lib/H5.java4
-rw-r--r--java/src/hdf/hdf5lib/HDF5Constants.java4
-rw-r--r--java/src/jni/h5Constants.c5
-rw-r--r--java/test/TestH5.java4
4 files changed, 13 insertions, 4 deletions
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java
index e7b04dc..7a3ad89 100644
--- a/java/src/hdf/hdf5lib/H5.java
+++ b/java/src/hdf/hdf5lib/H5.java
@@ -228,7 +228,7 @@ import hdf.hdf5lib.structs.H5O_token_t;
* which prints out the HDF5 error stack, as described in the HDF5 C API <i><b>@ref H5Eprint()</b>.</i> This
* may be used by Java exception handlers to print out the HDF5 error stack. <hr>
*
- * @version HDF5 1.13.4 <BR>
+ * @version HDF5 1.15.0 <BR>
* <b>See also: </b>
* @ref HDFARRAY hdf.hdf5lib.HDFArray<br />
* @ref HDF5CONST hdf.hdf5lib.HDF5Constants<br />
@@ -270,7 +270,7 @@ public class H5 implements java.io.Serializable {
* </ul>
* Make sure to update the versions number when a different library is used.
*/
- public final static int LIB_VERSION[] = {1, 13, 3};
+ public final static int LIB_VERSION[] = {1, 15, 0};
/**
* @ingroup JH5
diff --git a/java/src/hdf/hdf5lib/HDF5Constants.java b/java/src/hdf/hdf5lib/HDF5Constants.java
index 57f88eb..25b65fa 100644
--- a/java/src/hdf/hdf5lib/HDF5Constants.java
+++ b/java/src/hdf/hdf5lib/HDF5Constants.java
@@ -573,6 +573,8 @@ public class HDF5Constants {
/** */
public static final int H5F_LIBVER_V114 = H5F_LIBVER_V114();
/** */
+ public static final int H5F_LIBVER_V116 = H5F_LIBVER_V116();
+ /** */
public static final int H5F_LIBVER_NBOUNDS = H5F_LIBVER_NBOUNDS();
/** */
public static final int H5F_LIBVER_LATEST = H5F_LIBVER_LATEST();
@@ -2050,6 +2052,8 @@ public class HDF5Constants {
private static native final int H5F_LIBVER_V114();
+ private static native final int H5F_LIBVER_V116();
+
private static native final int H5F_LIBVER_NBOUNDS();
private static native final int H5F_LIBVER_LATEST();
diff --git a/java/src/jni/h5Constants.c b/java/src/jni/h5Constants.c
index 18a74b3..c69ba09 100644
--- a/java/src/jni/h5Constants.c
+++ b/java/src/jni/h5Constants.c
@@ -1310,6 +1310,11 @@ Java_hdf_hdf5lib_HDF5Constants_H5F_1LIBVER_1V114(JNIEnv *env, jclass cls)
return H5F_LIBVER_V114;
}
JNIEXPORT jint JNICALL
+Java_hdf_hdf5lib_HDF5Constants_H5F_1LIBVER_1V116(JNIEnv *env, jclass cls)
+{
+ return H5F_LIBVER_V116;
+}
+JNIEXPORT jint JNICALL
Java_hdf_hdf5lib_HDF5Constants_H5F_1LIBVER_1NBOUNDS(JNIEnv *env, jclass cls)
{
return H5F_LIBVER_NBOUNDS;
diff --git a/java/test/TestH5.java b/java/test/TestH5.java
index bb92582..9457ffd 100644
--- a/java/test/TestH5.java
+++ b/java/test/TestH5.java
@@ -313,7 +313,7 @@ public class TestH5 {
@Test
public void testH5get_libversion()
{
- int libversion[] = {1, 13, 3};
+ int libversion[] = {1, 15, 0};
try {
H5.H5get_libversion(libversion);
@@ -354,7 +354,7 @@ public class TestH5 {
@Test
public void testH5check_version()
{
- int majnum = 1, minnum = 13, relnum = 4;
+ int majnum = 1, minnum = 15, relnum = 0;
try {
H5.H5check_version(majnum, minnum, relnum);