mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
more java tests moved to community
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
class Test {
|
||||
boolean <caret>fie;
|
||||
int f(T t) {
|
||||
fie = t.t;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void g(T t) {
|
||||
// t.t = false;
|
||||
fie = true;
|
||||
}
|
||||
void h(T t) {
|
||||
boolean t1 = t.t;
|
||||
try {
|
||||
t.t = false;
|
||||
g(t);
|
||||
}
|
||||
finally {
|
||||
t.t = t1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private class T {
|
||||
public boolean t = true;
|
||||
|
||||
public boolean isT() {
|
||||
isT();
|
||||
return t;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user