mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
9 lines
288 B
Java
9 lines
288 B
Java
class Neg07 {
|
|
static class SuperFoo<X> {}
|
|
static class Foo<X extends Number> extends SuperFoo<X> {
|
|
Foo(X x) {}
|
|
}
|
|
|
|
SuperFoo<String> sf1 = new Foo<<error descr="Type parameter 'java.lang.String' is not within its bound; should extend 'java.lang.Number'"></error>>("");
|
|
}
|