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

Timestamps on ct.sym entries lead to non-reproducible builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b24

      Description

      JDK builds are currently not reproducible, and can't be diff'ed without special handling for some files. One of the issues is the javac symbol database ct.sym. This is a zip file and the time stamps on each entry means the file is different in each build. Furthermore, the hash of packaged module that are tied to java.base are stored in the ModuleHashes attribute of java.base's module-info.class which leads it java.base being non-reproducible too. We need to re-examine ct.sym creation to see if there are alternatives for the per entry time stamp.

        Attachments

          Activity

            People

            Assignee:
            jlahoda Jan Lahoda
            Reporter:
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: