RFR: 8273922: (fs) UserDefinedFileAttributeView doesn't handle file names that are just under the MAX_PATH limit (win) [v3]

Alan Bateman alanb at openjdk.java.net
Mon Oct 25 15:43:07 UTC 2021


On Mon, 25 Oct 2021 15:35:06 GMT, Mike Hearn <duke at openjdk.java.net> wrote:

> Thanks for fixing this Brian. I made my own attempt at a fix (I reported the bug originally) and came up with a different approach which simply removes the attempt to use short paths when possible, and always uses "long mode" paths. It passes tier1 and as far as I can tell should always work.

No, we always try to use short paths if possible to avoid needing to convert to absolute paths. So I think your approach is a bit outside the scope of this PR.

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

PR: https://git.openjdk.java.net/jdk/pull/5594


More information about the nio-dev mailing list