Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
java-11-openjdk.36259
reproducible-jlink.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible-jlink.patch of Package java-11-openjdk.36259
--- a/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java +++ b/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java @@ -726,7 +726,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