retrofit of covariant returns on Collection breaks existing binary impls

XMLWordPrintable

    • b24
    • generic, x86, sparc
    • linux, solaris_8, solaris_10, windows_2003

      The retrofit of iterable onto Collection uses covariant returns, violating the rule that one must not retrofit covariant returns onto existing extensible classes or interfaces. Existing (binary) implementations of Collection will break.

            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: