Question about changeset 10209:ef65ddb32456 - maximum chunk size for RIFFReader

Torsten Krah krah.tm at gmail.com
Thu Jul 30 14:10:21 UTC 2015


Hi,

i hope i am on the correct list, did not found a user related one,
please tell me if i am wrong.
Got some question about this changeset:

http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/ef65ddb32456

There was a check added that the maximum chunk size does not exceed 2
GiB.
Can you tell me the intention of this check? Before this change it was
possible to handle e.g. RIFF Wav-Files which are greater than 2 GiB,
after that change it will result in an exception.

So how to handle files which are greater than 2 GiB now? Downgrading to
JDK 7 or to a version before this change is not a "nice" solution ;-).

thanks for some enlightenment about this changeset.

thanks and kind regards

Torsten





More information about the jdk8u-dev mailing list