summaryrefslogtreecommitdiffstats
path: root/java/test/TestH5.java
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-05 23:20:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-05 23:21:02 (GMT)
commite8ad5f6d1ad5eecf79168026f10899d1798451a0 (patch)
tree57e7598a72d8a2795a59021958b984b60429b7f8 /java/test/TestH5.java
parent4747e2f2ad58bd00878a5c669df3ea7f02eabb5a (diff)
downloadhdf5-e8ad5f6d1ad5eecf79168026f10899d1798451a0.zip
hdf5-e8ad5f6d1ad5eecf79168026f10899d1798451a0.tar.gz
hdf5-e8ad5f6d1ad5eecf79168026f10899d1798451a0.tar.bz2
HDFFV-10876 Update dump to match DDL spec
Diffstat (limited to 'java/test/TestH5.java')
-rw-r--r--java/test/TestH5.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/test/TestH5.java b/java/test/TestH5.java
index 6a860f3..3021ed2 100644
--- a/java/test/TestH5.java
+++ b/java/test/TestH5.java
@@ -80,7 +80,7 @@ public class TestH5 {
private final long _createDataset(long fid, long dsid, String name, long dapl) {
long did = -1;
try {
- did = H5.H5Dcreate(fid, name, HDF5Constants.H5T_STD_I32BE, dsid,
+ did = H5.H5Dcreate(fid, name, HDF5Constants.H5T_STD_I32LE, dsid,
HDF5Constants.H5P_DEFAULT, HDF5Constants.H5P_DEFAULT, dapl);
}
catch (Throwable err) {
@@ -364,9 +364,9 @@ public class TestH5 {
try {
if (H5did >= 0)
- H5.H5Dwrite(H5did, HDF5Constants.H5T_NATIVE_INT,
+ H5.H5Dwrite(H5did, HDF5Constants.H5T_STD_I32LE,
HDF5Constants.H5S_ALL, HDF5Constants.H5S_ALL,
- HDF5Constants.H5P_DEFAULT, dset_data[0]);
+ HDF5Constants.H5P_DEFAULT, dset_data);
}
catch (Exception e) {
e.printStackTrace();