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
Mon Apr 14 21:11:47 UTC 2025


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.

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

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

Changes: https://git.openjdk.org/jdk/pull/24635/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24635&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354450
  Stats: 89 lines in 2 files changed: 82 ins; 3 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/24635.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24635/head:pull/24635

PR: https://git.openjdk.org/jdk/pull/24635


More information about the core-libs-dev mailing list