Proposal: JDK-8231640 - (prop) Canonical property storage

Alan Bateman Alan.Bateman at oracle.com
Sat Aug 28 15:16:25 UTC 2021


On 28/08/2021 05:45, Jaikiran Pai wrote:
> I hadn't considered the system property approach to switch to old 
> behaviour in my proposals, so this is a very good input and I 
> personally think the most logical proposals so far.

Roger may be right that few would care but it would be changing behavior 
that goes back to JDK 1.0. In your list (and thanks for writing down the 
options with pros/cons) then your 1a where SOURCE_DATE_EPOCH changes to 
write the epoch date rather than the current date seems to be most 
consistent with other tools and the wider eco system. It seems the least 
disruptive in that it doesn't change existing behavior and would be 
opt-in when reproducibility is required. Previous discussion was leading 
towards your option 2 (or variants of) but isn't option doesn't help the 
cases where build tools use libraries that rely on the older methods.

-Alan


More information about the core-libs-dev mailing list