RFR: 8202110: (fs) Remove FileSystem support for resolving against a default directory (chdir configuration) [v3]

Brian Burkhalter bpb at openjdk.org
Wed Mar 29 18:55:17 UTC 2023


On Wed, 29 Mar 2023 16:39:18 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Initialize `needToResolveAgainstDefaultDirectory` instance variable lazily thereby deferring early use of `UnixNativeDispatcher` and hopefully loading `libnio`.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8202110: Propagate cleanup

Early execution of `UnixNativeDispatcher` is avoided if support for resolving against a specified filesystem default directory is removed. This entails removing the undocumented property `sun.nio.fs.chdirAllowed` and setting the default directory to the value of the `user.dir` property.

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

PR Comment: https://git.openjdk.org/jdk/pull/13132#issuecomment-1489130824


More information about the nio-dev mailing list