Hello,
we have a problem with reading a binary files using XADisk's NativeXAFileInputStream.
Problem is that anytime in the binary file appears a FF character (represented as -1 as byte), the stream is just closed, because it is considered as EOF.
Looking at the sources it seems that in NativeXAFileInputStream.java in some places, there is wrong up-casting from byte to int.
It should be:
byte b = -1;
int a = b & 0xFF;
I think this is a bug, I wonder that nobody came into this yet ?
Thanks,
Milo