implement jsr/ret support

The Subroutine test won't pass due to a bug in the stack mapping code
such that objects may be missed during GC.
This commit is contained in:
Joel Dice
2008-11-13 17:59:21 -07:00
parent 4dd1d1eec8
commit fb770d10fb
5 changed files with 114 additions and 31 deletions

View File

@ -21,9 +21,12 @@ public class Subroutine {
Integer.valueOf(z).toString();
} finally {
a = x + y;
System.gc();
}
expect(a == x + y);
} catch (DummyException ignored) { }
} catch (DummyException e) {
e.printStackTrace();
}
}
public static void main(String[] args) {