|
From: Jim M. <jim...@co...> - 2006-03-01 21:36:32
|
When ZipOutputStream.closeEntry() detects a mismatch between the expected
and actual compressed sizes, it executes the following (at line 274):
else if (curEntry.getCompressedSize() != csize)
throw new ZipException("compressed size was "+csize
+", but I expected "+curEntry.getSize());
This gives a misleading value in the exception message. The code should use
curEntry.getCompressedSize() instead.
--
Jim McMaster
mailto:jim...@co...
|