Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
java-11-openjdk
reproducible-search-index-files.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible-search-index-files.patch of Package java-11-openjdk
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractIndexWriter.java +++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractIndexWriter.java @@ -497,6 +497,10 @@ public class AbstractIndexWriter extends HtmlDocletWriter { ZipOutputStream zos = new ZipOutputStream(fos)) { try { ZipEntry ze = new ZipEntry(searchIndexFile.getPath()); + String sde = System.getenv("SOURCE_DATE_EPOCH"); + if (sde != null) { + ze.setTime(1000 * Long.parseLong(sde)); + } zos.putNextEntry(ze); zos.write(searchVar.toString().getBytes()); } finally {
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