I encountered a problem using the java.util.zip
package when writing zip file sin deflate format . The
problem is in Deflater , because when I write zip
files in STORED format there is no problem . When I
write zip files ArrayIndexOutOfBoundsException is
thrown when writing the second entry in the zip .