mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests fix
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
class TestClassT {
|
||||
static {
|
||||
new B().<ref>foo(TestClassT.class);
|
||||
}
|
||||
|
||||
public static class A {
|
||||
public A foo(Class<?> type) {
|
||||
return new A();
|
||||
}
|
||||
}
|
||||
public static class B extends A {
|
||||
@Override
|
||||
public B foo(Class type) {
|
||||
return new B();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user