mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
unbounded wildcard cant be proved to be different: test data
This commit is contained in:
+6
@@ -460,6 +460,12 @@ public class Test {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void testUnbounded() {
|
||||
W<?> x = null;
|
||||
W<? extends A> y = ( W<? extends A>) x;
|
||||
W<?> y1 = (W<?>)x;
|
||||
}
|
||||
}
|
||||
|
||||
class W<T> {}
|
||||
|
||||
Reference in New Issue
Block a user