RFR: 8354450: Using a File with a path containing a trailing space should fail when alternative data streams are disabled (win)
Alan Bateman
alanb at openjdk.org
Tue Apr 15 13:05:45 UTC 2025
On Mon, 14 Apr 2025 20:57:17 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> In `java.io.WinNTFileSystem::isInvalid`, replace an insufficient test for file path validity with a sufficient test for file path invalidity. Also, add a new test.
I don't think we can't couple these too, meaning the ADS configuration shouldn't influence whether trailing spaces are allowed. I think we can still fat path when the input doesn't contain a space, just might need a slower path when the input has a space.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24635#issuecomment-2804985095
More information about the core-libs-dev
mailing list