git: openjdk/jdk11u-dev: 8215544: SA: Modify ClhsdbLauncher to add sudo privileges to enable MacOS tests on Mach5

Goetz Lindenmaier goetz at openjdk.java.net
Fri Mar 18 12:47:14 UTC 2022


Changeset: ca21a709
Author:    Goetz Lindenmaier <goetz at openjdk.org>
Date:      2022-03-18 12:46:05 +0000
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/ca21a709b43a898a2a13923579625422af6f327d

8215544: SA: Modify ClhsdbLauncher to add sudo privileges to enable MacOS tests on Mach5

Check if 'sudo' privileges can be added for executing macOS tests, and if so, add these privileges before executing the tests

Backport-of: 86fcd475b1227cff0fc9f9557f542ca6bd3abfe0

! test/hotspot/jtreg/serviceability/sa/ClhsdbFindPC.java
! test/hotspot/jtreg/serviceability/sa/ClhsdbJstack.java
! test/hotspot/jtreg/serviceability/sa/ClhsdbLauncher.java
+ test/lib/jdk/test/lib/SA/SATestUtils.java



More information about the jdk-updates-changes mailing list