Issue 5701: ZipFile returns compressed data stream when encountering unsupported compression method (original) (raw)

The attached .zip archive contains two uncompressed files (2! SCHEME.Z64, 3!SCHEME.Z64) and two files compressed with IMPLODE (1! SCHEME.Z64, 4!SCHEME.Z64), a compression method not currently supported in ZipFile.

When using ZipFile.read() on the latter files, the compressed data stream is returned, while I assume the proper response would be to throw an exception of some kind to signal that the method is unsupported.