On Tue, 27 Oct 2026 22:56:02 GMT, Chris Plummer <[email protected]> wrote:

>> test/hotspot/jtreg/serviceability/sa/TestLongAltRootPath.java line 71:
>> 
>>> 69:             // Launch "jhsdb jstack" on the core file.
>>> 70:             ProcessBuilder pb = new ProcessBuilder(cmdStringList);
>>> 71:             SATestUtils.addPrivilegesIfNeeded(pb);
>> 
>> Q: Why would we need additional privileges?
>
> Adding privileges means adding sudo to the command. We do this with all the 
> SA test. It is needed if not running as root on macOS.

Okay, thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33520#discussion_r4395615302

Reply via email to