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

JDK tools should support SOURCE_DATE_EPOCH

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Withdrawn
    • Affects Version/s: 18
    • Fix Version/s: None
    • Component/s: tools

      Description

      Currently when even when using --with-source-date (SOURCE_DATE_EPOCH) the build image jars, zips and jmods are not built deterministically, for various reasons:
      - ZipOutputStream and Jar do not support SOURCE_DATE_EPOCH
      - Jar and Jmod content order is not deterministic due to relying on underlying OS file IO
      - Zip generation uses the "zip" tool which does not support SOURCE_DATE_EPOCH and is non-deterministic

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aleonard Andrew Leonard
              Reporter:
              aleonard Andrew Leonard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: