FYI: ZipEntry(String) with length > 65535

Mark Wielaard mark@klomp.org
Fri Feb 21 12:53:00 GMT 2003


Hi,

The following fixes a deficiency in ZipEntry as pointed out by a bug
report against GNU Classpath. The zip format doesn't support very large
file names. There is also a new Mauve test that passes with this fix.

2003-02-21  Mark Wielaard  <mark@klomp.org>
  
       * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
       then 65535 chars throw IllegalArgumentException.

I am committing this to branch and mainline.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ZipEntry.diff
Type: text/x-patch
Size: 902 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030221/ca98fbd3/attachment.bin>


More information about the Java-patches mailing list