RFR: 8264400: (fs) WindowsFileStore equality depends on how the FileStore was constructed [v5]

Brian Burkhalter bpb at openjdk.java.net
Thu Apr 8 19:56:24 UTC 2021


> Please consider this change to make `sun.nio.fs.WindowsFileStore.equals()` return `true` if the root strings of the two objects are equal under case insensitive comparison, and the two `WindowsFileStore`s have the same volume information.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8264400: Don't initialize hashCode; use Path.of() in test

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3279/files
  - new: https://git.openjdk.java.net/jdk/pull/3279/files/7849c7ec..e1d7b21a

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

  Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3279.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3279/head:pull/3279

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


More information about the nio-dev mailing list