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

Brian Burkhalter bpb at openjdk.java.net
Thu Apr 8 16:37:39 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: Clean up equals() and hashCode()

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

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

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

  Stats: 10 lines in 1 file changed: 1 ins; 1 del; 8 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