JDK-8317041 : Release Note: `-Xdebug` and `-debug` Options Are Deprecated for Removal
  • Type: Sub-task
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2023-09-27
  • Updated: 2023-09-28
  • Resolved: 2023-09-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 22
22Resolved
Description
The `-Xdebug` and `-debug` options of the `java` command have been deprecated for removal. These options have been ignored for several releases and don't provide any functionality. Using either of these options while launching `java` will now log a deprecation warning.

Existing applications which use either of these options should be updated to remove references to these options.