-
Enhancement
-
Resolution: Fixed
-
P4
-
18
-
b26
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8291732 | 17.0.6-oracle | Sundararajan Athijegannathan | P4 | Resolved | Fixed | b01 |
JDK-8279928 | 17.0.3 | Andrew Leonard | P4 | Resolved | Fixed | b01 |
Currently both Jar and Jmod collect file lists using File.list() and Files.walkFileTree(). Both of these have no defined ordering according to the Java spec, but also the current implementation of these methods falls through to OS file system I/O calls, whose ordering is non-deterministic and typically dependent on CPU architecture (eg.AMD differs from Intel).
This enhancement will enable us to produce "reproducible build" Jars and Jmods.
This enhancement will enable us to produce "reproducible build" Jars and Jmods.
- backported by
-
JDK-8279928 Enable deterministic file content ordering for Jar and Jmod
- Resolved
-
JDK-8291732 Enable deterministic file content ordering for Jar and Jmod
- Resolved
- relates to
-
JDK-8276400 JDK tools should support SOURCE_DATE_EPOCH
- Closed
- links to
-
Commit openjdk/jdk17u-dev/fc92adc9
-
Commit openjdk/jdk/24e586a0
-
Review openjdk/jdk17u-dev/80
-
Review openjdk/jdk/6395
(2 links to)