Integrated: 4774868: (fc spec) Unclear spec for FileChannel.force

Brian Burkhalter bpb at openjdk.java.net
Fri Jan 28 17:16:15 UTC 2022


On Tue, 25 Jan 2022 02:12:38 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 95ee9bf7
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/95ee9bf7be40572e768cf6213c03ca183b8ad886
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

4774868: (fc spec) Unclear spec for FileChannel.force

Reviewed-by: alanb

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

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


More information about the nio-dev mailing list