Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8242623

Files claim copyright for future years

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • None
    • 13.0.2
    • infrastructure
    • x86_64
    • linux

    Description

      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> &copy; 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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pnarayanaswa Praveen Narayanaswamy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: