RFR: 4774868: (fc spec) Unclear spec for FileChannel.force [v2]

Brian Burkhalter bpb at openjdk.java.net
Tue Jan 25 17:25:10 UTC 2022


> Add verbiage to `FileChannel.force()` indicating that if the FileChannel is derived from a FileOutputStream or a RandomAccessFile using `getChannel()`, then any modifications made to the channel's file by methods invoked on the parent object will also be forced.

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

  4774868: Tweak verbiage

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7207/files
  - new: https://git.openjdk.java.net/jdk/pull/7207/files/93c2fb31..b5f80d7b

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7207&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7207&range=00-01

  Stats: 4 lines in 1 file changed: 0 ins; 1 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7207.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7207/head:pull/7207

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


More information about the nio-dev mailing list