On Sat, 14 Sep 2024 16:08:00 GMT, Bernd <d...@openjdk.org> wrote: > What about `-Xdebug` it’s deprecated for remove. It’s not yet moved to the > obsolete section of the manual. And we could also remove it from the -X > command line help.
If it is deprecated then it goes in the Deprecated section. The obsoleted section doesn't apply to -X flags but is part of the three-stage removal for Hotspot -XX flags. > src/java.base/share/man/java.1 line 3918: > >> 3916: option \f[V]-XX:-ScavengeBeforeFullGC\f[R]. >> 3917: .TP >> 3918: \f[V]-Xfuture\f[R] > > Maybe also remove the -X help (or at least change its description) in > https://github.com/openjdk/jdk/blob/c91fa278fe17ab204beef0fcef1ada6dd0bc37bb/src/java.base/share/classes/sun/launcher/resources/launcher.properties#L144 Yes this needs to be removed from the help text. ------------- PR Comment: https://git.openjdk.org/jdk/pull/20945#issuecomment-2351149012 PR Review Comment: https://git.openjdk.org/jdk/pull/20945#discussion_r1759814814