generics: non-generic code should be able to call covariant method

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: tools
    • tiger
    • generic
    • solaris_8

      When mixing generic and non-generic code, the non-generic code should be
      allowed to call a covariant method. The result should be a call to the
      method with the most specific return type. It should not cause an
      ambiguity error.

      This is necessary to support retrofitting covariance onto existing APIs.

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: