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

Adding ModulePackages attribute leads to non-reproducible builds

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      jdk.internal.module.ModuleInfoExtender is used by the jar and jmod tools to add/update the ModulePackages and other attributes. It's also used by the AddPackagesAttribute tool in the build to add ModulePackages attribute and avoid scanning the file system when using an exploded build. The entries in the ModulePackages are in the random order so the resulting build is not reproducible.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alanb Alan Bateman
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: