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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • tools
    • b24

      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.

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

              Created:
              Updated:
              Resolved: