RFR: 8312151: Deprecate for removal the -Xdebug option

Alan Bateman alanb at openjdk.org
Tue Jul 18 07:36:14 UTC 2023


On Tue, 18 Jul 2023 06:59:52 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which proposes to deprecate for removal the  `-Xdebug` option of the `java` command? This addresses https://bugs.openjdk.org/browse/JDK-8312151?
> 
> As noted in the JBS issue this option is currently a no-op and has been there only for backward compatible since even Java 8 days.
> 
> A CSR has been drafted for this change https://bugs.openjdk.org/browse/JDK-8312216

The launcher option -debug is an alias for -Xdebug so should be deprecated too. The history on these options goes back a long way, but obsolete since JDK 6 and the removal of JVMDI at least.

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

PR Comment: https://git.openjdk.org/jdk/pull/14918#issuecomment-1639660251



More information about the client-libs-dev mailing list