Fix Version/s: 14
Compatibility Risk Description:there could be users still depending on Pack200 and or Unpack200, but we have been warning since JDK 11 that these tools will be removed, same for uses of the `jar` tool with the -n option.
Interface Kind:Java API, Class file construct, add/remove command in $JDK/bin, add/remove/modify command line option
Remove the jdk.pack module, the pack200 and unpack200 tools, and the Pack200 API in
java.util.jar. Remove also the
-n option from
Pack200 is a complex and elaborate technology. The file format is tightly coupled to the class file format and the JAR file format, both of which have evolved in ways unforeseen by JSR 200. The compression benefit is not significant, and can be solved with deployment tools. Overall, the cost of maintaining Pack200 outweighs the benefit of including it in Java SE and the JDK.
jdk.pack module that includes the pack200 and unpack200 tools.
java.util.jar.Pack200 class and
java.util.jar.Pack200.Unpacker interfaces. Also remove the
-n option from the
The following APIs are removed:
java.util.jar.Pack200 java.util.jar.Pack200.Packer java.util.jar.Pack200.Unpacker
unpack200 command line tools are removed.
The JDK-specific module
jdk.pack is removed.
jar -n option is removed.