On Tue, 18 Nov 2025 08:24:13 GMT, SendaoYan <[email protected]> wrote:
> Hi all, > > Test tools/jar/ReproducibleJar.java fails when running on a file system that > only supports to 2038(e.g. XFS). > > Before this PR, test check if the input test time after > "2038-01-19T03:14:07Z" and the extracted time created by jar is equal to > "2038-01-19T03:14:07Z", then test will skip that check. > > But the extraced time created by jar equal to "1970-01-01T00:00:00Z" > actually. I think the extracted time set to unix epoch time is acceptable, so > this PR fix the test make test check skip when the extracted time is unix > epoch time. > > Change has been verified locally on XFS file system and ext4 file system. Hello @sendaoYan, the failure here is because the extracted date/time on the directory does not match the one in the JAR file's entry for that directory (due to the underlying filesystem). Would it be possible to see which part of the JDK code is setting this date on that directory to the Unix epoch time? I haven't had a chance to go over the JAR tool's code in detail. ------------- PR Comment: https://git.openjdk.org/jdk/pull/28367#issuecomment-3546620963
