[jdk11u-dev] RFR: 8221396: Clean up serviceability/sa/TestUniverse.java
toshiogata
duke at openjdk.org
Tue Sep 26 07:24:13 UTC 2023
Hi all,
This is a backport of JDK-8221396: Clean up serviceability/sa/TestUniverse.java
I would like to backport this enhancement to jdk11u for test maintainability.
The original patch does not apply cleanly to jdk11u, because JDK-8238268 was backported ahead. As for TestUniverse.java, JDK-8238268 simply changes `@requires vm.hasSAandCanAttach` to `@requires vm.hasSA`, and the identical change can be safely applied to this patch.
The risk is low as this fix only affects testing.
There is a related Issue: JDK-8231931, and I submit the corresponding PR. Testing was done after applying this related patch.
Testing: the affected test under all available GCs.
Thank you.
-------------
Commit messages:
- Backport 229d923b27a6c01616291aea6c8d4c86930bf7d2
Changes: https://git.openjdk.org/jdk11u-dev/pull/2148/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2148&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8221396
Stats: 92 lines in 1 file changed: 42 ins; 34 del; 16 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/2148.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2148/head:pull/2148
PR: https://git.openjdk.org/jdk11u-dev/pull/2148
More information about the jdk-updates-dev
mailing list