-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
21
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
Tested on Java 21
A DESCRIPTION OF THE PROBLEM :
For reproducible builds, it is already possible to suppress generating timestamps scattered across javadoc HTML files. One remaining issue that remains when trying to create reproducible javadoc artifacts is the generation HTML comments like this one in the header section of each HTML document:
<!-- Generated by javadoc (21) -->
The version number makes builds not reproducible, because the builds are now unnecessarily sensitive to the Java version the build runs on.
As a devloper striving for reproducible build artifacts (javadocs being one of them), I want to have a javadoc option to either override the text in the "generated by" comment or to completely suppress it, both via the CLI version and the Java tools API.
Tested on Java 21
A DESCRIPTION OF THE PROBLEM :
For reproducible builds, it is already possible to suppress generating timestamps scattered across javadoc HTML files. One remaining issue that remains when trying to create reproducible javadoc artifacts is the generation HTML comments like this one in the header section of each HTML document:
<!-- Generated by javadoc (21) -->
The version number makes builds not reproducible, because the builds are now unnecessarily sensitive to the Java version the build runs on.
As a devloper striving for reproducible build artifacts (javadocs being one of them), I want to have a javadoc option to either override the text in the "generated by" comment or to completely suppress it, both via the CLI version and the Java tools API.
- duplicates
-
JDK-8326483 "javadoc -notimestamp" still adds javadoc doclet version to comment
-
- Closed
-