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

javadoc should better handle empty set of doclet options

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 15
    • 13
    • tools

    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

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

              Dates

                Created:
                Updated:
                Resolved: