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

Output files claim copyright for future years

XMLWordPrintable

    • generic
    • linux_suse_sles_11

      ADDITIONAL SYSTEM INFORMATION :
      openSUSE-Tumbleweed 20201203

      A DESCRIPTION OF THE PROBLEM :
      While working on reproducible builds for openSUSE, I found that our java-16-openjdk does not build reproducibly, because output files contain the (future) current year.

      Copyright should not be claimed for future years.
      Same problem also existed in java-11

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      osc checkout openSUSE:Factory/java-16-openjdk && cd $_
      osc build --vm-type=kvm --noservice --clean --build-opt=--vm-custom-opt="-rtc base=2022-01-04T00:00:00" --keep-pkg=RPMS
      unrpm RPMS/java-16-openjdk-javadoc*
      see usr/share/javadoc/java-16-openjdk/api/allclasses-index.html and various other html file's legal notice

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It should be possible to build the package next year and still get identical results
      ACTUAL -
      +++ new//usr/share/javadoc/java-16-openjdk/api/allclasses-index.html
      -<p class="legal-copy"><small><a href="https://bugreport.java.com/bugreport/">Re
      port a bug or suggest an enhancement</a><br> For further API reference and devel
      oper documentation see the <a href="https://docs.oracle.com/pls/topic/lookup?ctx
      =javase16&amp;id=homepage" target="_blank">Java SE Documentation</a>, which cont
      ains more detailed, developer-targeted descriptions with conceptual overviews, d
      efinitions of terms, workarounds, and working code examples.<br> Java is a trade
      mark or registered trademark of Oracle and/or its affiliates in the US and other
       countries.<br> <a href="./../legal/copyright.html">Copyright</a> &copy; 1993, 2
      020, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065
      USA.<br>All rights reserved...
      +<p class="legal-copy"><small><a href="https://bugreport.java.com/bugreport/">Re
      port a bug or suggest an enhancement</a><br> For further API reference and devel
      oper documentation see the <a href="https://docs.oracle.com/pls/topic/lookup?ctx
      =javase16&amp;id=homepage" target="_blank">Java SE Documentation</a>, which cont
      ains more detailed, developer-targeted descriptions with conceptual overviews, d
      efinitions of terms, workarounds, and working code examples.<br> Java is a trade
      mark or registered trademark of Oracle and/or its affiliates in the US and other
       countries.<br> <a href="./../legal/copyright.html">Copyright</a> &copy; 1993, 2
      022, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065
      USA.<br>All rights reserved...


      +++ new//usr/lib64/jvm/java-16-openjdk-16/lib/src.zip/jdk.localedata/sun/util/resources/cldr/provider/CLDRLocaleDataMetaInfo.java
      @@ -1,5 +1,5 @@
       /*
      - * Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
      + * Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
        * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
        *
        * This code is free software; you can redistribute it and/or modify it


      CUSTOMER SUBMITTED WORKAROUND :
      adjust system clock to 2020

      FREQUENCY : always


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: