RFR: 8367284: (fs) Support current working directory target in SecureDirectoryStream.move [v2]

Brian Burkhalter bpb at openjdk.org
Tue Jan 13 19:05:49 UTC 2026


On Tue, 13 Jan 2026 19:01:30 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> test/jdk/java/nio/file/DirectoryStream/SecureDS.java line 312:
>> 
>>> 310:                 throw new RuntimeException("Not a SecureDirectoryStream");
>>> 311:             }
>>> 312:             System.out.println("Success: \"" + TEXT + "\"");
>> 
>> Just FYI that none of the tests in this method print trace messages so this "Success: ..." will look a bit odd in the .jtr output, esp. with tests that are added after this one. Maybe a left over? Maybe future work to move this to a junit test.
>
>> "Success: ..." will look a bit odd in the .jtr output
> 
> Removed in commit 8b9a5df.

> Maybe future work to move this to a junit test.

Maybe in this PR once it is otherwise quiescent, otherwise in future work.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27178#discussion_r2687706461


More information about the nio-dev mailing list