-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
13.0.2
-
x86_64
-
linux
ADDITIONAL SYSTEM INFORMATION :
Linux / openSUSE Tumbleweed 20200118
A DESCRIPTION OF THE PROBLEM :
While working on reproducible builds for openSUSE, I found that
building our java-13-openjdk in the year 2035, the build output contains 10146 files
that contain "2035, Oracle" in statements like
Copyright (c) 2012, 2035, Oracle and/or its affiliates. All rights reserved
or
<a href="./../legal/copyright.html">Copyright</a> © 1993, 2035, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.<br>All rights reserved. Use is subject to <a href="https://www.oracle.com/technetwork/java/javase/terms/license/java13.0.2speclicense.html">license terms</a> and the <a href="https://www.oracle.com/technetwork/java/redist-137594.html">documentation redistribution policy</a>. <!-- Version 13.0.2+8-suse-0.0-x8664 --></small></p>
Clearly, Oracle cannot claim copyright for future years.
Also this breaks reproducible builds for java, where it should be possible to reproduce the same build results from the same source anytime anywhere.
See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933349 for a patch
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
build the code with system clock at 2035
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Copyright should be the same as at the time of release of the sources.
ACTUAL -
Files claimed Copyright xxxx, 2035, Oracle
---------- BEGIN SOURCE ----------
Is openjdk 13.0.2 source
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Always set system clock to 2020 when building.
FREQUENCY : always
Linux / openSUSE Tumbleweed 20200118
A DESCRIPTION OF THE PROBLEM :
While working on reproducible builds for openSUSE, I found that
building our java-13-openjdk in the year 2035, the build output contains 10146 files
that contain "2035, Oracle" in statements like
Copyright (c) 2012, 2035, Oracle and/or its affiliates. All rights reserved
or
<a href="./../legal/copyright.html">Copyright</a> © 1993, 2035, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.<br>All rights reserved. Use is subject to <a href="https://www.oracle.com/technetwork/java/javase/terms/license/java13.0.2speclicense.html">license terms</a> and the <a href="https://www.oracle.com/technetwork/java/redist-137594.html">documentation redistribution policy</a>. <!-- Version 13.0.2+8-suse-0.0-x8664 --></small></p>
Clearly, Oracle cannot claim copyright for future years.
Also this breaks reproducible builds for java, where it should be possible to reproduce the same build results from the same source anytime anywhere.
See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933349 for a patch
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
build the code with system clock at 2035
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Copyright should be the same as at the time of release of the sources.
ACTUAL -
Files claimed Copyright xxxx, 2035, Oracle
---------- BEGIN SOURCE ----------
Is openjdk 13.0.2 source
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Always set system clock to 2020 when building.
FREQUENCY : always
- relates to
-
JDK-8244592 Start supporting SOURCE_DATE_EPOCH
-
- Resolved
-