Set packer gzip option to false for compatibility with OpenJDK

master
Graham 5 years ago
parent a6933982e6
commit 8cac28ae99
  1. 4
      src/main/java/org/apache/harmony/pack200/Pack200PackerAdapter.java

@ -34,6 +34,10 @@ public class Pack200PackerAdapter extends Pack200Adapter implements Packer {
private final PackingOptions options = new PackingOptions();
public Pack200PackerAdapter() {
options.setGzip(false);
}
public void pack(JarFile file, OutputStream out) throws IOException {
if (file == null || out == null)
throw new IllegalArgumentException(

Loading…
Cancel
Save