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

Brian Burkhalter bpb at openjdk.java.net
Tue Nov 2 00:28:56 UTC 2021


> Modify `sun.nio.fs.WindowsUserDefinedFileAttributeView.join(WindowsPath,String)` to handle file names which exceed the limit.

Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - Merge
 - 8273922: Change absolute path check to check for name count and root presence
 - 8273922: Make join() reject absolute path in 1nth in 'name' parameter
 - 8273922: Add bug ID to @bug in test
 - 8273922: (fs) UserDefinedFileAttributeView doesn't handle file names that are just under the MAX_PATH limit (win)

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5594/files
  - new: https://git.openjdk.java.net/jdk/pull/5594/files/5be22533..14f5a7aa

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5594&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5594&range=02-03

  Stats: 86384 lines in 2188 files changed: 61473 ins; 14946 del; 9965 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5594.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5594/head:pull/5594

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


More information about the nio-dev mailing list