src/java.base/share/classes/java/io/FileOutputStream.java
changeset 47460 b6d959fae9ef
parent 47235 9ef10c6e67b8
child 48224 be0df5ab3093
--- a/src/java.base/share/classes/java/io/FileOutputStream.java	Thu Oct 26 10:46:29 2017 -0700
+++ b/src/java.base/share/classes/java/io/FileOutputStream.java	Thu Oct 26 11:08:31 2017 -0700
@@ -410,7 +410,8 @@
             synchronized (this) {
                 fc = this.channel;
                 if (fc == null) {
-                    this.channel = fc = FileChannelImpl.open(fd, path, false, true, this);
+                    this.channel = fc = FileChannelImpl.open(fd, path, false,
+                        true, false, this);
                     if (closed) {
                         try {
                             // possible race with close(), benign since