From: Jochen H. <Hoe...@In...> - 2002-08-01 15:40:55
|
On Wednesday, 31. July 2002 19:24, Shawn Fuller wrote: > > Here is an error: > > > > > > While decompressing some file (9682528 archive of 191535331ASCII > > file) we are getting > > DataFormatException (no message). > > > > The exception is originated at > > InflaterDynHeader.decode(StreamManipulator); > > > > in the block: > > > > ... > > > > if (ptr >= lnum) > > throw new DataFormatException();//-------------<<< > > EXCEPTION IS THROWN HERE. (Line 156 in our version snapshot). > > litlenLens[ptr++] = repeatedLen; > > } > > mode = LREPS; > > continue decode_loop; > > ... > > > > > > The Winzip processes the file without any problems with complete > > extraction. > > > > Questions are: > > > > 1) Is this a problem or not? Known bug or not? Yes, I already fixed it. > > 2) Is any patch or something we can use? I don't have a patch handy (and I'm several 100 km from my computer away). You can try to browse the GNU classpath CVS repository at http://savannah.gnu.org/projects/classpath The patch has been recently applied to java.util.zip.InflaterDynHeader.java Jochen -- Jochen Hoenicke, University of Oldenburg, 26111 Oldenburg, Germany Email: hoe...@in... Tel: +49 441 798 3124 |