RFR: 8199871: Deprecate pack200 and unpack200 tools

Paul Sandoz paul.sandoz at oracle.com
Mon Jun 11 16:07:00 UTC 2018

Hi Henry,

I am unsure if the warning messages are copying a pattern of previous warning messages for other for removal deprecations but i would like to suggest some stronger language e.g.:

  Warning: The {0} option is deprecated for removal and will be removed in a future JDK release\n



> On Jun 8, 2018, at 6:56 PM, Henry Jen <henry.jen at oracle.com> wrote:
> Hi,
> 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.
> Cheers,
> Henry
> [1] http://cr.openjdk.java.net/~henryjen/jdk11/8199871/0/webrev/

More information about the jdk-dev mailing list