On Fri, 11 Aug 2023 01:49:57 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:
> On OSX, don't require that sudo be used to launch SA tools if developer mode > is enabled. More details are in the CR. > > Due to this change, the following tests are no longer being skipped if the > host has developer mode is enabled. They previously required running as root > because if sudo was used some files were created with root ownership and > could not be deleted: > > serviceability/sa/ClhsdbDumpclass.java > serviceability/sa/TestClassDump.java > > I tested on my home system (M1) with developer mode enabled and also > disabled. Also tested with CI, which appears to have developer mode disabled > on most hosts, but there are a few where it is enabled. Marked as reviewed by amenkov (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/15238#pullrequestreview-1581401172