mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8376271: ZipFile comment confusingly refers to "native" ZIP file implementation
Reviewed-by: jpai
This commit is contained in:
parent
b1aea55205
commit
4ff5f3a8c0
@ -87,11 +87,11 @@ public class ZipFile implements ZipConstants, Closeable {
|
|||||||
private final ZipCoder zipCoder;
|
private final ZipCoder zipCoder;
|
||||||
private volatile boolean closeRequested;
|
private volatile boolean closeRequested;
|
||||||
|
|
||||||
// The "resource" used by this ZIP file that needs to be
|
// An object holding state which needs to be cleaned after
|
||||||
// cleaned after use.
|
// this ZipFile is closed or becomes unreachable:
|
||||||
// a) the input streams that need to be closed
|
// a) the input streams that need to be closed
|
||||||
// b) the list of cached Inflater objects
|
// b) the list of cached Inflater objects
|
||||||
// c) the "native" source of this ZIP file.
|
// c) the Source object providing read access to the actual ZIP file
|
||||||
private final @Stable CleanableResource res;
|
private final @Stable CleanableResource res;
|
||||||
|
|
||||||
private static final int STORED = ZipEntry.STORED;
|
private static final int STORED = ZipEntry.STORED;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user