diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-09-01 18:08:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-01 18:08:58 (GMT) |
commit | cf6d3e0737aaed231954e4867f60d0c5973f05e4 (patch) | |
tree | 4a677712a472f02bb313ae4780bd2a3b283eb34a | |
parent | 5217dd5f61a0b537417816e3b1143320f976396b (diff) | |
download | hdf5-cf6d3e0737aaed231954e4867f60d0c5973f05e4.zip hdf5-cf6d3e0737aaed231954e4867f60d0c5973f05e4.tar.gz hdf5-cf6d3e0737aaed231954e4867f60d0c5973f05e4.tar.bz2 |
Correct dimensions in java test (#3484)
-rw-r--r-- | java/src/jni/h5aImp.c | 2 | ||||
-rw-r--r-- | java/test/TestH5Arw.java | 2 | ||||
-rw-r--r-- | java/test/TestH5Drw.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/java/src/jni/h5aImp.c b/java/src/jni/h5aImp.c index 2e985e7..f5df09c 100644 --- a/java/src/jni/h5aImp.c +++ b/java/src/jni/h5aImp.c @@ -1186,7 +1186,7 @@ Java_hdf_hdf5lib_H5_H5AwriteVL(JNIEnv *env, jclass clss, jlong attr_id, jlong me UNUSED(clss); if (NULL == buf) - H5_NULL_ARGUMENT_ERROR(ENVONLY, "H5Awrite: write buffer is NULL"); + H5_NULL_ARGUMENT_ERROR(ENVONLY, "H5AwriteVL: write buffer is NULL"); if ((vl_data_class = h5str_detect_vlen(mem_type_id)) < 0) H5_LIBRARY_ERROR(ENVONLY); diff --git a/java/test/TestH5Arw.java b/java/test/TestH5Arw.java index 56ac7f4..205f3b0 100644 --- a/java/test/TestH5Arw.java +++ b/java/test/TestH5Arw.java @@ -278,7 +278,7 @@ public class TestH5Arw { @Test public void testH5Aread_32bit_ints() { - int[][] attr_data = new int[DIM_X][DIM16_Y]; + int[][] attr_data = new int[DIM_X][DIM32_Y]; try { openH5file(H5_INTS_FILE, DATASETU32); diff --git a/java/test/TestH5Drw.java b/java/test/TestH5Drw.java index b18bed7..a5caabd 100644 --- a/java/test/TestH5Drw.java +++ b/java/test/TestH5Drw.java @@ -226,7 +226,7 @@ public class TestH5Drw { @Test public void testH5Dread_32bit_ints() { - int[][] dset_data = new int[DIM_X][DIM16_Y]; + int[][] dset_data = new int[DIM_X][DIM32_Y]; try { openH5file(H5_INTS_FILE, DATASETU32); |