mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
test++
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
class C {
|
||||
static C c;
|
||||
static {
|
||||
java.util.ArrayList<C> l = null;
|
||||
l.add(newMethod());
|
||||
}
|
||||
|
||||
void foo() {
|
||||
System.out.println(newMethod());
|
||||
}
|
||||
|
||||
private static C newMethod() {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user