mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
test to ensure that capture's bound is corrected according to the used jdk/library
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package p;
|
||||
abstract class B {
|
||||
void foo(A<?> a)
|
||||
{
|
||||
a.get().<error descr="Cannot resolve method 'reversed()'">reversed</error>();
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package p;
|
||||
public abstract class A <T extends java.util.Comparator> {
|
||||
public abstract T get();
|
||||
}
|
||||
Reference in New Issue
Block a user