RFR: 8278766: Enable OpenJDK build support for reproducible jars and jmods using --date [v4]

Andrew Leonard aleonard at openjdk.java.net
Wed Dec 22 15:44:45 UTC 2021


On Fri, 17 Dec 2021 17:47:02 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

>> Andrew Leonard has updated the pull request incrementally with three additional commits since the last revision:
>> 
>>  - 8278766: Enable OpenJDK build support for reproducible jars and jmods using --date
>>    
>>    Signed-off-by: Andrew Leonard <anleonar at redhat.com>
>>  - 8278766: Enable OpenJDK build support for reproducible jars and jmods using --date
>>    
>>    Signed-off-by: Andrew Leonard <anleonar at redhat.com>
>>  - 8278766: Enable OpenJDK build support for reproducible jars and jmods using --date
>>    
>>    Signed-off-by: Andrew Leonard <anleonar at redhat.com>
>
> make/common/JarArchive.gmk line 234:
> 
>> 232:     endif
>> 233:   else
>> 234:     $1_JAR_OPTIONS := $$($1_JAR_SOURCE_DATE)
> 
> Instead of adding $$($1_JAR_SOURCE_DATE) to every branch of this conditional, you can use += to build the $1_JAR_OPTIONS variable one step at a time. I don't think we need a separate variable JAR_SOURCE_DATE.

reduced as stated

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

PR: https://git.openjdk.java.net/jdk/pull/6878



More information about the build-dev mailing list