Integrated: 8312072: Deprecate for removal the -Xnoagent option

Jaikiran Pai jpai at openjdk.org
Tue Jul 18 05:45:13 UTC 2023


On Fri, 14 Jul 2023 07:34:03 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 8ec136e6
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8ec136e6f0fa684255274181d09c86251ef5428f
Stats:     23 lines in 12 files changed: 0 ins; 0 del; 23 mod

8312072: Deprecate for removal the -Xnoagent option

Reviewed-by: alanb, dholmes, cjplummer

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

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


More information about the ide-support-dev mailing list