Closed
Description
ExtractCommandTests
asserts that extracted files have their creation, last modified, and last access times set correctly. Unfortunately, how Java sets and reads the creation time varies by OS and Java version:
- macOS
- Java 19 and earlier the last modified time is used
- Java 20 and later the creation time is used thanks to this enhancement
- Linux
- Java 21.0.1 and earlier the creation time is used
- Java 21.0.2 and later the creation time isn't set at all so its value isn't predictable. This appears to be a bug introduced in this commit