RFR: 8368907: Windows Error code 1314 not translated to AccessDeniedException (win)

Brian Burkhalter bpb at openjdk.org
Fri Oct 10 20:58:36 UTC 2025


Map Windows error codes ERROR_NETWORK_ACCESS_DENIED and ERROR_PRIVILEGE_NOT_HELD to `java.nio.file.AccessDeniedException`.

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

Commit messages:
 - 8368907: Windows Error code 1314 not translated to AccessDeniedException (win)

Changes: https://git.openjdk.org/jdk/pull/27753/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27753&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8368907
  Stats: 74 lines in 3 files changed: 46 ins; 3 del; 25 mod
  Patch: https://git.openjdk.org/jdk/pull/27753.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27753/head:pull/27753

PR: https://git.openjdk.org/jdk/pull/27753


More information about the nio-dev mailing list