Respect PackingOptions when packing JarInputStreams

master
Graham 5 years ago
parent 526b168925
commit 255d310bad
  1. 2
      src/main/java/org/apache/harmony/pack200/Pack200PackerAdapter.java

@ -56,8 +56,6 @@ public class Pack200PackerAdapter extends Pack200Adapter implements Packer {
throw new IllegalArgumentException( throw new IllegalArgumentException(
"Must specify both input and output streams"); "Must specify both input and output streams");
completed(0); completed(0);
PackingOptions options = new PackingOptions();
try { try {
new org.apache.harmony.pack200.Archive(in, out, options).pack(); new org.apache.harmony.pack200.Archive(in, out, options).pack();
} catch (Pack200Exception e) { } catch (Pack200Exception e) {

Loading…
Cancel
Save