bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Make .jar build reproducible


From: Bruno Haible
Subject: Re: [PATCH] Make .jar build reproducible
Date: Wed, 17 Jul 2024 00:01:05 +0200

Hi,

Bernhard M. Wiedemann wrote:
> by setting the build date to a constant.
> 
> Unfortunately, the --date param in jar might be a recent addition.

Yes, it was added in OpenJDK 19, less than 2 years ago.

> Do you want autoconf check to still work with older java versions?

Of course it needs to work with older Java versions. Can be done
through a configure-time test or through a run-time test.

> 2000-01-01T00:00:00+00:00

This would lead to confusion when people look inside the jar file,
to get an indication whether the contents is new or is 20 years old.
It is better to choose a date that, at least approximately, matches
reality.

Done through 
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=06bb3d6f86c43c7eb259cb2f0b8522ad87df40f1
Thanks for the suggestion.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]