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

SendaoYan syan at openjdk.org
Thu Dec 4 07:38:07 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.

This pull request has now been integrated.

Changeset: 828498c5
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/828498c54b3b1089af9e076cb45f3cf3bea58e2f
Stats:     11 lines in 1 file changed: 5 ins; 0 del; 6 mod

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

Reviewed-by: jpai

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

PR: https://git.openjdk.org/jdk/pull/28367


More information about the core-libs-dev mailing list