RFR: 8302819: Remove JAR Index

Lance Andersen lancea at openjdk.org
Tue Mar 28 18:34:32 UTC 2023


On Sat, 25 Mar 2023 09:35:56 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > I see that Alan suggested that we take up the `jar -i` deprecation in a separate PR. I think that simplifies the work in this PR.
> 
> Yes, there are options for `jar -i` that include "leave it as is", have the option create the index and emit a warning that the feature is deprecated, or remove the index creation and emit a warning that it is ignored. I don't think we should change "jar -i` to fail with an error as that would break existing scripts. None of these directions impact the JAR file spec or the API docs, it's just the jar tool so I think can be separated to another PR.

Agree, we should handle this separately.  If we are thinking of emitting a warning, we probably should do that in = JDK 22  as that could break tests with golden files so we might want to give a heads up in JDK 21  before doing this

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

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



More information about the security-dev mailing list