--- a/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java Fri Apr 26 00:57:03 2019 -0400
+++ b/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java Fri Apr 26 08:53:29 2019 +0100
@@ -884,7 +884,7 @@
}
private static byte[] ROOTPATH = new byte[] { '/' };
- private static byte[] getParent(byte[] path) {
+ static byte[] getParent(byte[] path) {
int off = getParentOff(path);
if (off <= 1)
return ROOTPATH;
@@ -899,11 +899,11 @@
return off;
}
- private final void beginWrite() {
+ final void beginWrite() {
rwlock.writeLock().lock();
}
- private final void endWrite() {
+ final void endWrite() {
rwlock.writeLock().unlock();
}
@@ -926,7 +926,7 @@
private final ReadWriteLock rwlock = new ReentrantReadWriteLock();
// name -> pos (in cen), IndexNode itself can be used as a "key"
- private LinkedHashMap<IndexNode, IndexNode> inodes;
+ LinkedHashMap<IndexNode, IndexNode> inodes;
final byte[] getBytes(String name) {
return zc.getBytes(name);