RFR: 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS
Chris Plummer
cjplummer at openjdk.org
Thu May 4 18:14: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.
Changes look good. Is there a reason why this was not noticed when [JDK-8290687](https://bugs.openjdk.org/browse/JDK-8290687) was filed and fixed last year?
-------------
Marked as reviewed by cjplummer (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/13791#pullrequestreview-1413649773
More information about the serviceability-dev
mailing list