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

Andrew Leonard aleonard at openjdk.java.net
Fri Dec 17 20:11:23 UTC 2021


On Fri, 17 Dec 2021 16:29:21 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> Oh, that's ... interesting. (I'm pretty sure I wrote that code myself :))
>> 
>> I still think it would be good to keep the new code close to the old. If we set SOURCE_DATE to "updated", I think that should reflect in SOURCE_DATE_ISO_8601 as well. Maybe it does by the current design, but if it does, it could be more obvious.
>> 
>> I'm sorry I don't have any ready-made suggestion. :( I'm really on vacation now and can't really dive into this, so if you can't find any better solution, then this'll have to do.
>
> But I think the code in InitSupport will be executed always; Init.gmk is our "bootstrapper" / "trampoline" which wraps all calls to make (and InitSupport.gmk contains gory implementation details of Init.gmk).

@magicus don't worry, enjoy your holiday, I think @erik has pointed out it should work, so I probably made a mistake when I tried it...

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

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



More information about the build-dev mailing list