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

Files claim copyright for future years

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 13.0.2
    • Fix Version/s: None
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      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

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

                Dates

                Created:
                Updated:
                Resolved: