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

javadoc build only shows the first 100 warnings and errors

    XMLWordPrintable

Details

    • b07

    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.

      Attachments

        Issue Links

          Activity

            People

              kcr Kevin Rushforth
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: