> 8334048: -Xbootclasspath can not read some ZIP64 zip files fitzsim has updated the pull request incrementally with six additional commits since the last revision:
- BootClassPathZipFileTest: Add test - BootClassPathZip64Test: Remove test - BootClassPathZip64Test: Delete class file in finally block - BootClassPathZip64Test: Generate ZIP file dynamically, if possible - BootClassPathZip64Test: Do not attempt to delete the ZIP file Leave deletion to the test harness instead, to avoid this on windows-x64: command: main -Xbootclasspath/a:./Zip64.zip BootClassPathZip64Test reason: User specified action: run main/othervm -Xbootclasspath/a:./Zip64.zip BootClassPathZip64Test started: Tue Jul 02 22:10:56 UTC 2024 Mode: othervm [/othervm specified] finished: Tue Jul 02 22:10:56 UTC 2024 elapsed time (seconds): 0.265 configuration: STDOUT: STDERR: java.nio.file.FileSystemException: Zip64.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:110) at java.base/java.nio.file.Files.deleteIfExists(Files.java:1192) at BootClassPathZip64Creator.tearDown(BootClassPathZip64Creator.java:342) at BootClassPathZip64Test.main(BootClassPathZip64Test.java:57) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1575) - BootClassPathZip64Test: Add test ------------- Changes: - all: https://git.openjdk.org/jdk/pull/19678/files - new: https://git.openjdk.org/jdk/pull/19678/files/37f981ce..4505172d Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=19678&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19678&range=00-01 Stats: 157 lines in 2 files changed: 157 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/19678.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/19678/head:pull/19678 PR: https://git.openjdk.org/jdk/pull/19678