RFR: 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS
Arno Zeller
azeller at openjdk.org
Fri May 5 10:06:16 UTC 2023
On Thu, 4 May 2023 18:11:56 GMT, Chris Plummer <cjplummer 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?
@plummercj : I tried to find out why we did not see it when JDK-8290687 was fixed but I am unable to find a reason :-(.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13791#issuecomment-1536024939
More information about the serviceability-dev
mailing list