hg: jdk9/sandbox/jdk: 8069211: (zipfs) ZipFileSystem creates corrupted zip if entry output stream gets closed more than once

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu Jan 22 16:50:08 UTC 2015


Changeset: b6ae6184b241
Author:    sherman
Date:      2015-01-22 08:51 -0800
URL:       http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/b6ae6184b241

8069211: (zipfs) ZipFileSystem creates corrupted zip if entry output stream gets closed more than once
Summary: to synchronize the write and close methods of the entry output stream
Reviewed-by: alanb

! src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java
! test/jdk/nio/zipfs/ZipFSTester.java



More information about the jdk9-sandbox-changes mailing list