possible bug in java.util.DeflaterOutputStream

Xueming Shen xueming.shen at oracle.com
Tue Aug 17 17:08:49 UTC 2010


  It's from the native zlib during tree building.


On 8/17/2010 09:11, Ulf Zibis wrote:
> No feedback since long.
> Nobody knows about this particular error message and it's possible 
> cause ?
>
> -Ulf
>
>
> Am 04.07.2010 19:11, schrieb Ulf Zibis:
>> Hi,
>>
>> writing data to a zip file returns following 2 error lines:
>> bit length overflow
>> code 0 bits 6->7
>> I use:
>>     DataOutputStream dos = new DataOutputStream(new 
>> DeflaterOutputStream(new FileOutputStream(outFilePathName)));
>>
>> Is there any idea, where this comes from?
>>
>> The class to run:
>> https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-enhanced/branches/JDK-7/j_l_Character_names/src_sherman2/build/tools/generatecharacter/CharacterNamesGenerator6.java?rev=1106&view=markup 
>>
>> (From NetBeans run configuration gen_sherman2_6)
>> My project:
>> https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-enhanced/branches/JDK-7/j_l_Character_names/?rev=1106 
>>
>>
>> If I write to normal file, no error occurs:
>>      DataOutputStream dos = new DataOutputStream(new 
>> FileOutputStream(outFilePathName));
>>
>> -Ulf
>>
>>
>>
>>
>>
>




More information about the core-libs-dev mailing list