do not accept deep bound promotion in type parameters withing bound check (IDEA-107654)

This commit is contained in:
Anna Kozlova
2013-06-04 13:11:40 +04:00
parent 399d857d8c
commit 42ece72f79
3 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
class X<A extends X<A>> {
static class Y<B extends Y> extends X<<error descr="Type parameter 'B' is not within its bound; should extend 'X<B>'">B</error>> {}
}