A class may not at the same time be a subtype of two interface types which are different parameterizations of the same generic interface(IDEA-122475); revert workarounds for javac 6 bug

This commit is contained in:
Anna Kozlova
2014-03-20 20:05:27 +01:00
parent f6c426cb7d
commit 4686315880
6 changed files with 16 additions and 5 deletions
@@ -7,7 +7,7 @@ interface A<T>
interface B<T> extends A<T[]> { }
class C<T extends A<Object[]> & B<?>>
class C<T extends A<Object[]> & B<Object>>
{
void foo(T x)
{