[jdk21u-dev] Integrated: 8370214: [21u] Remove -Xdebug and -Xnoagent from tests: backport parts of 8227229 and 8312072

Goetz Lindenmaier goetz at openjdk.org
Fri Oct 24 12:52:11 UTC 2025


On Fri, 17 Oct 2025 13:16:34 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> This is a backport of the test parts of 
> 
> [8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6](https://bugs.openjdk.org/browse/JDK-8227229)
> and
> [8312072: Deprecate for removal the -Xnoagent option](https://bugs.openjdk.org/browse/JDK-8312072)
> 
> I prepared two commits to separate the edits of each of these.
> 
> Backporting these changes makes 
>   [8327704: Update nsk/jdi tests to use driver instead of othervm](https://bugs.openjdk.org/browse/JDK-8327704)
> a clean backport.  As 8327704 is huge, it would be quite unpleasant to review.  See https://github.com/openjdk/jdk21u-dev/pull/2359
> 
> Removing the usage of the options in 21 is fine as the effect of these options has been removed before 21.
> I do not and can not backport the deprecation part of the change.

This pull request has now been integrated.

Changeset: daa8b72a
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/daa8b72a1089cde51bc9e8039b048a8e3a60e4d6
Stats:     40 lines in 20 files changed: 0 ins; 1 del; 39 mod

8370214: [21u] Remove -Xdebug and -Xnoagent from tests: backport parts of 8227229 and 8312072

Reviewed-by: mbaesken

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

PR: https://git.openjdk.org/jdk21u-dev/pull/2353


More information about the jdk-updates-dev mailing list