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

javadoc should better handle empty set of doclet options

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 15
    • Component/s: tools
    • Labels:

      Description

      1. javadoc will crash with NPE if Doclet.getSupportedOptions() returns null.
      2. It will print out a heading followed by nothing if Doclet.getSupportedOptions() returns an empty set.

      Both are undesirable for developers writing small doclets.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prappo Pavel Rappo
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: