On Thu, 9 Oct 2025 14:28:38 GMT, Roger Riggs <[email protected]> wrote:

> This will silently skip the test.

I ran the test as root and as my normal user. For the normal user one gets

STARTED    TargetDirectory::testReadOnlyDirectory 'testReadOnlyDirectory()'

whereas for root

SKIPPED    TargetDirectory::testReadOnlyDirectory 'testReadOnlyDirectory()' 
@DisabledIf("jdk.test.lib.Platform#isRoot") evaluated to true

which looked okay to me.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27542#discussion_r2417154078

Reply via email to