[jdk8u-dev] RFR: 6622468: TEST_BUG: Time to retire the @debuggeeVMOptions mechanism used in the com.sun.jdi infrastructure
Kazuhisa Takakuri
ktakakuri at openjdk.org
Tue May 7 12:34:09 UTC 2024
Hi all,
I would like to backport this patch to improve test maintainability.
Currently, hotspot tests require jtreg 4.2 b13 or newer. Therefore, even if TEST.ROOT of the jdk test does not specify a required minimum jtreg version, it is unlikely that jdk tests will be run with a version of jtreg which does not support -vmoption.
Given this, the @debuggeeVMOptions mechanism can be safely removed.
The patch is almost clean. Only difference is that DoubleAgentTest.java is skipped because the fix is alreaday in another patch.
There is a related patch JDK-8048892, and I have proposed a separate backport for it.
Additionally, when JDK-8054066 was backported, a @debuggeeVMOptions file was added to the original patch. I plan to propose an issue regarding the modification of that test once this fix is approved.
Testing: All tests under jdk/test/com/sun/jdi
Thank you.
-------------
Commit messages:
- Backport 9158c1d9b686179742f4b129a9aee02c95458a58
Changes: https://git.openjdk.org/jdk8u-dev/pull/492/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=492&range=00
Issue: https://bugs.openjdk.org/browse/JDK-6622468
Stats: 231 lines in 103 files changed: 0 ins; 39 del; 192 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/492.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/492/head:pull/492
PR: https://git.openjdk.org/jdk8u-dev/pull/492
More information about the jdk8u-dev
mailing list