RFR: 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS

Thomas Stuefe stuefe at openjdk.org
Thu May 4 09:50:16 UTC 2023


On Thu, 4 May 2023 07:30:49 GMT, Arno Zeller <azeller at openjdk.org> wrote:

> Unless this test is run as root, it needs sudo privileges. If it gets them, the test runs fine, but leaves a file with root ownership.  So jtreg cannot delete it, and you see errors when "make clean" tries to delete it. 
> It's best that we just don't run the test on OSX if sudo privileges.

Seems reasonable.

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

Marked as reviewed by stuefe (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13791#pullrequestreview-1412739984


More information about the serviceability-dev mailing list