RFR: 8354450: Using a File with a path containing a trailing space should fail when alternative data streams are disabled (win)

Brian Burkhalter bpb at openjdk.org
Tue Apr 15 15:24:41 UTC 2025


On Tue, 15 Apr 2025 13:03:03 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I don't think we should couple these two, 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.

Agreed. I was thinking that lines 371-377 should come before line 368 and possibly also check for a trailing space.

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

PR Comment: https://git.openjdk.org/jdk/pull/24635#issuecomment-2806162661


More information about the core-libs-dev mailing list