Switch to Apache Harmony's pack200 implementation

The built-in pack200 implementation is deprecated.
master
Graham 5 years ago
parent 93692f497d
commit e647588f67
  1. 5
      asm/pom.xml
  2. 2
      asm/src/main/java/dev/openrs2/asm/classpath/Library.java

@ -25,6 +25,11 @@
<artifactId>openrs2-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>dev.openrs2</groupId>
<artifactId>pack200</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>

@ -11,12 +11,12 @@ import java.util.TreeMap;
import java.util.jar.JarEntry;
import java.util.jar.JarInputStream;
import java.util.jar.JarOutputStream;
import java.util.jar.Pack200;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
import dev.openrs2.util.io.DeterministicJarOutputStream;
import dev.openrs2.util.io.SkipOutputStream;
import org.apache.harmony.pack200.Pack200;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.ClassWriter;

Loading…
Cancel
Save