Hello all,

How can I file an issue for a fix to the Java HDF5 interface?

Regarding hdf-java-2.11 ...

In HDFArray.java, line 938, the maximum size of an array is limited to max
int, since the totalSize attribute is an int.

```
class ArrayDescriptor {
    .....snip....
    static int totalSize = 0;
    .....snip....
```

If a matrix is being stored with more than max int bytes, this will cause
an issue on line 214:
```
try {
            _barray = new byte[ArrayDescriptor.totalSize];
}
```
A NegativeArraySizeException will be thrown.

When storing a matrix of doubles (8 bytes each), this limit is certainly
within reach.

Thanks,
Lee Lichtenstein
Broad Institute
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to