< prev index next >

src/java.base/share/classes/com/sun/java/util/jar/pack/DriverResource.java

Print this page
rev 50498 : 8199871: Deprecate pack200 and unpack200 tools
Reviewed-by:

*** 40,49 **** --- 40,50 ---- public static final String PACK_HELP = "PACK_HELP"; public static final String UNPACK_HELP = "UNPACK_HELP"; public static final String MORE_INFO = "MORE_INFO"; public static final String DUPLICATE_OPTION = "DUPLICATE_OPTION"; public static final String BAD_SPEC = "BAD_SPEC"; + public static final String DEPRECATED = "DEPRECATED"; /* * The following are the output of 'pack200' and 'unpack200' commands. * Do not translate command arguments and words with a prefix of '-' or '--'. */
*** 124,133 **** --- 125,135 ---- } }, {MORE_INFO, "(For more information, run {0} --help .)"}, // parameter 0:command name {DUPLICATE_OPTION, "duplicate option: {0}"}, // parameter 0:option {BAD_SPEC, "bad spec for {0}: {1}"}, // parameter 0:option;parameter 1:specifier + {DEPRECATED, "\nWarning: The {0} tool is deprecated, and is planned for removal in a future JDK release.\n"} // parameter 0:command name }; protected Object[][] getContents() { return resource; }
< prev index next >