We should convert ERROR_PRIVILEGE_NOT_HELD to AccessDeniedException
iseki zero
admin at iseki.space
Fri Jun 13 09:45:21 UTC 2025
Hello maintainers,
When we access a file that requires UAC upgrade on Windows, we will get
error code ERROR_PRIVILEGE_NOT_HELD. But the
src/java.base/windows/classes/sun/nio/fs/WindowsException.java haven't
convert the error code to AccessDeniedException.
In 2 years ago I opened a PR on github
https://github.com/openjdk/jdk/pull/15221, should I continue work for it?
Thank you.
iseki zero
More information about the core-libs-dev
mailing list