RFR: 8371978: tools/jar/ReproducibleJar.java fails on XFS

Jaikiran Pai jpai at openjdk.org
Wed Nov 26 06:09:48 UTC 2025


On Tue, 18 Nov 2025 08:24:13 GMT, SendaoYan <syan at openjdk.org> 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.

Marked as reviewed by jpai (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/28367#pullrequestreview-3509029840


More information about the core-libs-dev mailing list