RFR: 8368907: Windows Error code 1314 not translated to AccessDeniedException (win)
Brian Burkhalter
bpb at openjdk.org
Fri Oct 10 20:58:37 UTC 2025
On Fri, 10 Oct 2025 20:51:06 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Map Windows error codes ERROR_NETWORK_ACCESS_DENIED and ERROR_PRIVILEGE_NOT_HELD to `java.nio.file.AccessDeniedException`.
Note that the error code ERROR_NETWORK_ACCESS_DENIED is added to WindowsConstants. The only place this code appears elsewhere in the source base is in wepoll so perhaps we do not want to add it here.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27753#issuecomment-3392282856
More information about the nio-dev
mailing list