Details
-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b03
-
windows
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8332459 | 22.0.2 | Sendao Yan | P4 | Resolved | Fixed | b07 |
Description
The ZipSourceCache.testKeySourceMapping() test was recently added for https://bugs.openjdk.org/browse/JDK-8317678. This test has been reported to fail on a windows-x64 instance in one of the GitHub actions job https://github.com/openjdk/jdk/pull/16115#issuecomment-1854702162.
The exception stacktrace of the failure is:
FAILED ZipSourceCache::testKeySourceMapping 'testKeySourceMapping()'
java.nio.file.FileSystemException: 1702471080605-bug8317678.zip: The process cannot access the file because it is being used by another process
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:273)
at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:109)
at java.base/java.nio.file.Files.deleteIfExists(Files.java:1191)
at ZipSourceCache.cleanup(ZipSourceCache.java:65)
The exception stacktrace of the failure is:
FAILED ZipSourceCache::testKeySourceMapping 'testKeySourceMapping()'
java.nio.file.FileSystemException: 1702471080605-bug8317678.zip: The process cannot access the file because it is being used by another process
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:273)
at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:109)
at java.base/java.nio.file.Files.deleteIfExists(Files.java:1191)
at ZipSourceCache.cleanup(ZipSourceCache.java:65)
Attachments
Issue Links
- backported by
-
JDK-8332459 ZipSourceCache.testKeySourceMapping() test fails with The process cannot access the file because it is being used by another process
- Resolved
- relates to
-
JDK-8317678 Fix up hashCode() for ZipFile.Source.Key
- Closed
- links to
-
Commit openjdk/jdk22u/01d0fdad
-
Commit openjdk/jdk/f6fe39ff
-
Review openjdk/jdk22u/201
-
Review openjdk/jdk/17169
(1 links to)