On Thu, 30 Mar 2023 07:05:37 GMT, Alan Bateman <al...@openjdk.org> wrote:

> For CSR and release note purposes it would be a bit easier if it was this PR, 
> would that be okay?

We seem to have wiggled a bit on this issue, but I'm ok with including it.

I have implemented the -i warning using the existing warnings strings already 
in place in `jar`. This means the following warning will be output:


% build/macosx-x86_64-server-release/images/jdk/bin/jar --generate-index 
file.jar
Warning: The -i option is deprecated, and is planned for removal in a future 
JDK release


Which may be overridden by using `-XDsuppress-tool-removal-message`:


% build/macosx-x86_64-server-release/images/jdk/bin/jar --generate-index 
file.jar -XDsuppress-tool-removal-message



I'm not sure we are planning to remove it though, so perhaps the current 
message is somewhat misleading? On the other hand, this message will allow us 
to remove it in the future, which is perhaps good?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13158#issuecomment-1490123577

Reply via email to