JDK-8278538 : Test langtools/jdk/javadoc/tool/CheckManPageOptions.java fails after the manpage was updated
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-12-10
  • Updated: 2021-12-16
  • Resolved: 2021-12-10
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 18 JDK 19
18 b28Fixed 19Fixed
Related Reports
Relates :  
Description
The javadoc manpage (nroff version) was just updated with changes made in earlier issues like JDK-8275146, and as a result of these updates the test:

langtools/jdk/javadoc/tool/CheckManPageOptions.java

is now failing.

----------System.err:(354/9931)*----------
File: /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+28-1959/src.full/open/src/jdk.javadoc/share/man/javadoc.1

found:
.IP \\[bu] 2
\\f[CB]\\-\\-add\\-modules\\f[R]

found:
.IP \\[bu] 2
\\f[CB]\\-bootclasspath\\f[R]

found:
.IP \\[bu] 2
\\f[CB]\\-\\-class\\-path\\f[R], \\f[CB]\\-classpath\\f[R], or \\f[CB]\\-cp\\f[R]
...

I suspect formatting changes have disrupted what the test is looking for.
Comments
Changeset: 3df8dc49 Author: Jonathan Gibbons <jjg@openjdk.org> Date: 2021-12-10 05:02:28 +0000 URL: https://git.openjdk.java.net/jdk18/commit/3df8dc494d2d0e6d1003094c9e129be2cca10a3c
10-12-2021

> I suspect formatting changes have disrupted what the test is looking for. No, the formatting is OK; there was a built-in list of command-line options that were known to be missing on the man page, which are now not missing.
10-12-2021