From: Markus Koschany <apo@debian.org>
Date: Thu, 2 Mar 2023 19:52:25 +0100
Subject: Pack200 removal

---
 src/classes/jnlp/sample/servlet/JnlpResource.java | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/classes/jnlp/sample/servlet/JnlpResource.java b/src/classes/jnlp/sample/servlet/JnlpResource.java
index 42b7c18..8f69b86 100644
--- a/src/classes/jnlp/sample/servlet/JnlpResource.java
+++ b/src/classes/jnlp/sample/servlet/JnlpResource.java
@@ -44,8 +44,6 @@ import java.net.URLConnection;
 import java.util.Date;
 import java.util.Map;
 import java.util.jar.JarFile;
-import java.util.jar.Pack200;
-import java.util.jar.Pack200.Packer;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 import java.util.zip.GZIPOutputStream;
@@ -90,13 +88,6 @@ public class JnlpResource {
 		}
 	}
 	
-	private static Packer packer;
-	
-	static {
-		packer = Pack200.newPacker();
-		Map<String, String> p = packer.properties();
-	}
-
 	/* Pattern matching arguments */
 	private String _name;	  // Name of resource with path (this is the same as path for non-version based)
 	private String _versionId;    // Version-id for resource, or null if none
@@ -244,7 +235,6 @@ public class JnlpResource {
 		try {
 			JarFile jar = new JarFile(path);
 			GZIPOutputStream gzos = new GZIPOutputStream(new FileOutputStream(path + ".pack.gz"));
-			packer.pack(jar, gzos);
 			jar.close();
 			gzos.close();
 		} catch (IOException ioe) {
