On Fri, 18 Apr 2025 01:01:50 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
> From experimentation with C++ code is VS, it appears that `CreateDirectoryW` > will create a directory with either a leading or trailing space in its name, > whereas `createFileW` will create a file with a leading space in its name, > but a trailing space is trimmed. Right, the Windows APIs are very inconsistent on this, and why the Windows implementation of Path will always reject input where an element has a trailing space. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24635#discussion_r2050315986