Implement WindowsFileAttributes#fileKey
Fabian Meumertzheim
fabian at meumertzhe.im
Thu Apr 6 13:03:31 UTC 2023
Hi,
The build system Bazel would benefit from having a non-trivial
implementation of WindowsFileAttributes#fileKey available - the function
currently always returns null, even if sun.nio.fs.ensureAccurateMetadata is
set to true.
Based on my understanding of the API contract, changing this function to
return an object with information equivalent to what is encoded in
src/java.base/windows/classes/sun/nio/ch/FileKey.java, but only if the
WindowsFileAttributes were created via fromFileInformation, would be a
backwards compatible change.
Would this seem like a reasonable addition?
Best,
Fabian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/nio-dev/attachments/20230406/43eb6cb0/attachment.htm>
More information about the nio-dev
mailing list