Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8312151

Deprecate for removal the -Xdebug option

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • None

      java command allows the -Xdebug option to be specified. As noted in the documentation (dating as far back as Java 8), this option is only there for backward compatibility and currently does nothing https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BGBCIEFC

      > -Xdebug
      >
      > Does nothing. Provided for backward compatibility.

      There are several scripts where this outdated option is still used (mostly due to copy/paste). This current enhancement proposes to officially deprecate this option for removal.

            jpai Jaikiran Pai
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: