RFR: 8312072: Deprecate for removal the -Xnoagent option

Jaikiran Pai jpai at openjdk.org
Fri Jul 14 07:41:38 UTC 2023


Can I please get a review of this change which proposes to deprecate `-Xnoagent` option of the `java` command? This addresses https://bugs.openjdk.org/browse/JDK-8312072.

As noted in the JBS issue, this option currently is a no-op and provides no functionality. The commit in this PR logs a deprecation warning if this option is used when launching `java`.

Additionally, this PR also cleans up one such usage that I found in the JDK code.

`tier1`, `tier2` and `tier3` tests passed with this change. A CSR has been proposed for this deprecation https://bugs.openjdk.org/browse/JDK-8312073.

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

Commit messages:
 - update copyright year
 - Remove reference from netbeans build.xml
 - deprecate for removal -Xnoagent

Changes: https://git.openjdk.org/jdk/pull/14882/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14882&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8312072
  Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/14882.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14882/head:pull/14882

PR: https://git.openjdk.org/jdk/pull/14882


More information about the ide-support-dev mailing list