JDK-8215577 : Remove javadoc support for HTML 4.
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-12-18
  • Updated: 2019-02-13
  • Resolved: 2019-01-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13
13 b06Fixed
Related Reports
Blocks :  
CSR :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
javadoc has supported HTML 5 since JDK 9 (JDK-8072945) and warned about use of HTML 4 since JDK 11 (JDK-8182765)

It is time to remove support for HTML 4.

The -html4 option and the code to generate HTML will be removed, so that the doclet always generates HTML 5.  The -html5 will remain, but will effectively be ignored.
Comments
The work primarily consists of removing all references to the enum `HtmlVersion` and the field `HtmlConfiguration.htmlVersion`, and resolving any `if` statements in favor of HTML 5.
18-12-2018

There may be additional references to HTML 4 in doclint. See the javac --doclint-format option. $ ./build/linux-x86_64-server-release/images/jdk/bin/javac -X --doclint-format {html4,html5} Specify the format for documentation comments
18-12-2018