RFR: 8286851: Deprecate for removal several of the undocumented java launcher options

Jaikiran Pai jpai at openjdk.org
Thu Sep 19 06:30:41 UTC 2024


On Tue, 17 Sep 2024 06:28:54 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which proposes to deprecate several outdated and undocumented java launcher options? This addresses https://bugs.openjdk.org/browse/JDK-8286851.
> 
> Specifically, the non-standard launcher options `-verbosegc`, `-noclassgc`, `-verify`, `-verifyremote`, `-ss`, `-ms` and `-mx` will be deprecated for removal. With this change, a deprecation warning will be printed, if any of these options are used.
> 
> No new tests have been added for this change. Existing tests in tier1, tier2 and tier3 continue to pass.
> 
> I'll create a CSR shortly for this change.

Thank you David for the review here and on the CSR.

I've run our CI tests all the way through tier8 to make sure that this additional deprecation logging doesn't cause unexpected failures in tests (there was one test which needed to be fixed and that has now been integrated too). I'll go ahead with the integration of this PR now.

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

PR Comment: https://git.openjdk.org/jdk/pull/21031#issuecomment-2360095915


More information about the core-libs-dev mailing list