-
Notifications
You must be signed in to change notification settings - Fork 144
8370214: [21u] Remove -Xdebug and -Xnoagent from tests: backport parts of 8227229 and 8312072 #2353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…-Xdebug/-debug flags that have not done anything since Java 6
👋 Welcome back goetz! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense ; but in 21u-dev we have a few more places where those flags show up, e.g. netbeans-targets.xml . See https://github.com/search?q=repo%3Aopenjdk%2Fjdk21u-dev+%22-Xdebug%22&type=code
should those be kicked out too ?
Even in jdk (jdk26) we still mentioned '-Xdebug' in src/hotspot/share/prims/jvmti.xml ; should we better kick it out there (separate JBS issue) ? |
Hi @MBaesken The netbeans occurance seems to be missed by the original change. Probably I should also have omitted the changes to make/ide/netbeans/langtools/build.xml and src/jdk.jdi/share/classes/com/sun/tools/jdi/SunCommandLineLauncher.java |
|
This is a backport of the test parts of
8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6
and
8312072: Deprecate for removal the -Xnoagent option
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
a clean backport. As 8327704 is huge, it would be quite unpleasant to review. See #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.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2353/head:pull/2353
$ git checkout pull/2353
Update a local copy of the PR:
$ git checkout pull/2353
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2353/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2353
View PR using the GUI difftool:
$ git pr show -t 2353
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2353.diff
Using Webrev
Link to Webrev Comment