Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8326125

Reproducible builds: option to override/suppress "generated by" HTML comment

XMLWordPrintable

      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.


            tongwan Andrew Wang
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: