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

Fix signature of StandardDoclet.getSupportedOptions

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: