This commit is contained in:
Dmitry Jemerov
2009-09-10 20:21:16 +04:00
parent 72f81ba46b
commit b7e66aee44
170 changed files with 13 additions and 0 deletions
@@ -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;
}
}