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

xueming.shen at oracle.com xueming.shen at oracle.com
Thu Jan 22 16:45:20 UTC 2015


Changeset: b6ae6184b241
Author:    sherman
Date:      2015-01-22 08:51 -0800
URL:       http://hg.openjdk.java.net/jdk9/dev/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-dev-changes mailing list