[jdk11u-dev] RFR: 8221396: Clean up serviceability/sa/TestUniverse.java

Paul Hohensee phh at openjdk.org
Wed Oct 25 22:24:38 UTC 2023


On Tue, 26 Sep 2023 07:12:19 GMT, null <duke at openjdk.org> wrote:

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

Marked as reviewed by phh (Reviewer).

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

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2148#pullrequestreview-1698336982


More information about the jdk-updates-dev mailing list