bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22643] java.util.zip.DeflaterEngine exception


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22643] java.util.zip.DeflaterEngine exception
Date: 16 Oct 2005 01:26:12 -0000

I got an exception trying to pack this file with
GZIP (at DeflaterEngine.findLongestMatch).

Code to reproduce this error :

FileInputStream  inputStream = new FileInputStream("test.bin");
GZIPOutputStream outputStream = new GZIPOutputStream(new
FileOutputStream("test.bin.gz"));

byte[] writeData = new byte[inputStream.available()];
inputStream.read(writeData);
outputStream.write(writeData);

inputStream.close();
outputStream.close();


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22643





reply via email to

[Prev in Thread] Current Thread [Next in Thread]