-
Bug
-
Resolution: Fixed
-
P3
-
17, 21, 22
-
b21
-
Verified
ZipFile.Source.Key constructor takes file argument passed from ZipFile constructor. Since ZipFile.Source.Key is used as key in HashMap lookups, the file should be stored with an absolute path value.
see ZipFile:
synchronized (files) {
src = files.get(key);
if (src != null) {
src.refs++;
return src;
}
}
src = new Source(key, toDelete, zc);
see ZipFile:
synchronized (files) {
src = files.get(key);
if (src != null) {
src.refs++;
return src;
}
}
src = new Source(key, toDelete, zc);
- relates to
-
JDK-8322078 ZipSourceCache.testKeySourceMapping() test fails with The process cannot access the file because it is being used by another process
- Resolved