JDK-8241606 : Adding ModulePackages attribute leads to non-reproducible builds
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.module
  • Affected Version: 15
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2020-03-25
  • Updated: 2020-04-29
  • Resolved: 2020-04-29
Related Reports
Duplicate :  
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.
Comments
This issue is fixed as part of JDK-8243666.
29-04-2020