mirror of
https://github.com/corda/corda.git
synced 2025-06-17 06:38:21 +00:00
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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user