RFR: 8308678: (fs) UnixPath::toRealPath needs additional permissions when running with SM (macOS) [v2]

Brian Burkhalter bpb at openjdk.org
Thu May 25 20:42:22 UTC 2023


On Thu, 25 May 2023 20:27:37 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> An `AccessControlException` is thrown by `path.toRealPath(LinkOption.NOFOLLOW_LINKS)` when run against JDK 20 and the current mainline. I concur that more comments would be better.
>
> So here is a wild idea,  perhaps consider converting this to a junit test given it  is a new test and we can start to leverage some of the value brought by the junit framework.

I'll investigate.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14157#discussion_r1205981392


More information about the nio-dev mailing list