Quick compiler exception support
Handle MOVE_RESULT, THROW and THROW_VERIFICATION_ERROR. Enable
runtests 007 and 014 to pass. Minor munging of the tests to make
them easier to selectively compile with the Quick compiler.
Change-Id: I756def54d81771b144e8ebc213cd90077e23758b
diff --git a/test/007-exceptions/src/Main.java b/test/007-exceptions/src/Main.java
index c7da215..1f76f12 100644
--- a/test/007-exceptions/src/Main.java
+++ b/test/007-exceptions/src/Main.java
@@ -18,7 +18,7 @@
* Exceptions across method calls
*/
public class Main {
- public static void main (String args[]) {
+ public static void exceptions_007() {
try {
catchAndRethrow();
} catch (NullPointerException npe) {
@@ -27,6 +27,9 @@
npe.printStackTrace();
}
}
+ public static void main (String args[]) {
+ exceptions_007();
+ }
private static void catchAndRethrow() {
try {