Regression: valid code rejected during generic type well-formedness check

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 7, 8
    • Component/s: tools
    • b30
    • unknown, x86
    • generic, windows_7
    • Verified

        This code does not compile:

        class Pair<K, V> { }

        class TypeTest {
           static abstract class A<K, V, I extends Pair<K, V>, I2 extends Pair<V, K>> {
              abstract A<V, K, I2, I> test();
           }
        }

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: