Inner class type parameters doesn't get substituted when checking type well-formedness

XMLWordPrintable

    • b40
    • generic
    • generic
    • Not verified

      The compiler fails to accept this program:

      class Foo<T> {
        class Bar<U extends T> {}
        Foo<Number>.Bar<Integer> f;
      }

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: