Fix signature of StandardDoclet.getSupportedOptions

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 15
    • Affects Version/s: 15
    • Component/s: tools
    • None

      The signature of Doclet.getSupportedOptions uses a wildcard in the return type.

      Set<? extends Doclet.Option> getSupportedOptions()

      There is an overriding method in StandardDoclet, but it incorrectly omits the wildcard, this providing a more restrictive return type.

      public Set<Doclet.Option> getSupportedOptions()

      Although this will be an API change, it will not affect existing clients or any subtypes.

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: