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

Change return type of getSupportedOptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9
    • tools
    • None

      getSupportedOptions should return Set<? extends Option>, not Set<Option>, to allow covariant return of a set of imply subtypes.

            ksrini Kumar Srinivasan
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: