Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:iddilabs
java-21-openjdk
reproducible-jlink.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible-jlink.patch of Package java-21-openjdk
--- a/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java +++ b/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java @@ -763,7 +763,7 @@ public class JlinkTask { private String getSaveOpts() { StringBuilder sb = new StringBuilder(); - sb.append('#').append(new Date()).append("\n"); + sb.append('#').append(System.getenv("SOURCE_DATE_EPOCH") != null ? new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))) : new Date()).append("\n"); for (String c : optionsHelper.getInputCommand()) { sb.append(c).append(" "); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor