JDK-8314589 : javadoc build only shows the first 100 warnings and errors
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: jfx21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-08-18
  • Updated: 2023-09-01
  • Resolved: 2023-08-28
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.
Other
jfx22 b07Fixed
Related Reports
Blocks :  
Relates :  
Description
The default values of the javadoc maxwarns and maxerrs is 100. This means that if you have more than 100 warnings (which we currently do) or more than 100 errors (which is unlikely, but still possible) only the first 100 will be shown. This means that we will miss any new warnings that arise. We already have done so, and some of the missed warnings point to a product bug (unintentional public API that we forgot to remove in a subclass when the superclass methods were terminally deprecated).

The ultimate solution is to fix our warnings, and eventually cause warnings to be treated as errors, but even then we want to see more than just the first 100.

I plan to increase the limit to 1000.
Comments
Changeset: 53682dd2 Author: Kevin Rushforth <kcr@openjdk.org> Date: 2023-08-28 12:45:20 +0000 URL: https://git.openjdk.org/jfx/commit/53682dd26a900af81341d8cca024a572b451b2b2
28-08-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/1216 Date: 2023-08-18 17:17:06 +0000
18-08-2023