RFR for backport of JDK-8034773 : (zipfs) newOutputstream uses CREATE_NEW when no options specified

Jaikiran Pai jai.forums2013 at gmail.com
Tue Oct 29 07:44:08 UTC 2019

Can I please get a review and a sponsor for a fix which backports
JDK-8034773 [1] to OpenJDK 8? The backport is available as a webrev at
[2]. The JBS issue tracking this backport is at [3].

The commit in this backport patch was manually created since the
original commit for [1] does not apply cleanly because of the directory
structure changes between the 8u repo and the later JDK repos. This
change along with the test case introduced in the original commit,
passed locally.

[1] https://bugs.openjdk.java.net/browse/JDK-8034773

[2] https://cr.openjdk.java.net/~jpai/webrev/8233103/1/webrev/

[3] https://bugs.openjdk.java.net/browse/JDK-8233103

P.S: Bit surprised that in JDK 8, the source for nio/zipfs resided in
"demo" directory and even has a warning stating the code is for demo


More information about the jdk8u-dev mailing list