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/014-math3/src/Main.java b/test/014-math3/src/Main.java
index f55b17a..07e5be3 100644
--- a/test/014-math3/src/Main.java
+++ b/test/014-math3/src/Main.java
@@ -18,7 +18,7 @@
* Test math exceptions
*/
public class Main {
- public static void main(String args[]) {
+ public static void math_014() {
int expectedThrows = 2;
int i;
long j;
@@ -54,4 +54,7 @@
else
System.out.println("testMath3 success");
}
+ public static void main(String args[]) {
+ math_014();
+ }
}