mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
test++
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class OxfordBug {
|
||||
private int f(int m, int n) throws Exception {
|
||||
int i = 0;
|
||||
while (i < n) {
|
||||
i++;
|
||||
n = newMethod(m, n, i);
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
||||
private int newMethod(int m, int n, int i) throws Exception {
|
||||
if (i == m) {
|
||||
n += m;
|
||||
throw new Exception("" + n);
|
||||
}
|
||||
return n;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user