RFR: JDK-8254195: java/nio/file/Files/SubstDrive.java failed with "AssertionError: expected [144951656448] but found [144951640064]"

Nhat Nguyen github.com+8022952+nhat-nguyen at openjdk.java.net
Thu Oct 8 17:48:33 UTC 2020


Remove assertions for FileStore.getUnallocatedSpace() and FileStore.getUsableSpace() since the values are not
guaranteed to be the same on a busy system.

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

Commit messages:
 - JDK-8254195: java/nio/file/Files/SubstDrive.java failed with "AssertionError: expected [144951656448] but found [144951640064]"

Changes: https://git.openjdk.java.net/jdk/pull/565/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=565&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8254195
  Stats: 8 lines in 1 file changed: 0 ins; 8 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/565.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/565/head:pull/565

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


More information about the nio-dev mailing list