RFR: 8199871: Deprecate pack200 and unpack200 tools

Henry Jen henry.jen at oracle.com
Sat Jun 9 01:56:36 UTC 2018


Please review this webrev[1] in which we mark Pack200 related API and tools deprecate, and print a warning about tools to be remove in a future JDK release. To avoid interrupt existing tools depends on the output, an option is provided to suppress the warning message.

The option name is following the convention of javah, not the GNU style as we should. The rationale is that this is a temporary option and an existing convention would make it more consistent for users. Anyhow, if we have a strong feeling this should be changed, we can do that.

For jar tool, the normalize option use Pack200 is also deprecated, the suppress option only available to the new GNU style option mode. As if user need to provide the option, the command line change is necessary, so without compatible mode option should not be an issue.


[1] http://cr.openjdk.java.net/~henryjen/jdk11/8199871/0/webrev/

More information about the jdk-dev mailing list