<Sound Dev> Question about changeset 10209:ef65ddb32456 - maximum chunk size for RIFFReader

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Jul 30 15:28:33 UTC 2015


Hi.
The reason of those changes was the fact that in some cases the big 
sound files causes a dangerous hangups. Since code in some readers was 
not ready to such big streams. Please file a CR to http://bugs.java.com/ 
and send me an ID of the bug. As a workaround you can install you own 
wav reader.

On 30.07.15 18:13, Seán Coffey wrote:
>
> On 30/07/2015 15:10, Torsten Krah wrote:
>> Hi,
>>
>> i hope i am on the correct list, did not found a user related one,
>> please tell me if i am wrong.
> Hi Torsten,
>
> I think sound-dev is a more suited mailing list for your query.
> http://mail.openjdk.java.net/mailman/listinfo/sound-dev
>
> regards,
> Sean.
>
>> 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
>>
>>
>>
>


-- 
Best regards, Sergey.



More information about the sound-dev mailing list