1 ---------- normal exceptions --------------------
2 throw new Exception(): OK
3 throw new Exception() (from subroutines): OK
4 NullPointerException: OK
6 ---------- test soft inline exceptions ----------
7 /* thrown twice to check the inline jump code */
8 ArrayIndexOutOfBoundsException: OK
9 ArrayIndexOutOfBoundsException: OK
10 NegativeArraySizeException: OK
11 NegativeArraySizeException: OK
12 ClassCastException: OK
13 ClassCastException: OK
14 ArithmeticException (only w/ -softnull): OK
15 ArithmeticException (only w/ -softnull): OK
18 NullPointerException (only w/ -softnull): OK
19 NullPointerException (only w/ -softnull): OK
21 ---------- some asmpart exceptions --------------
22 NullPointerException in <clinit> (PUTSTATIC): OK
23 NullPointerException in <clinit> (GETSTATIC): OK
24 ArithmeticException (idiv): OK
25 ArithmeticException (ldiv): OK
26 ArithmeticException (irem): OK
27 ArithmeticException (lrem): OK
28 NullPointerException (aastore): OK
29 ArrayIndexOutOfBoundsException (aastore): OK
30 ArrayStoreException (aastore): OK
31 ClassCastException (checkarraycast): OK
33 ---------- exception related things -------------
34 load/link an exception class in asmpart: OK
36 ---------- native stub exceptions ---------------
37 NullPointerException (native): OK
39 ---------- no OK beyond this point --------------
40 NullPointerException (without catch):
41 Exception in thread "main" java.lang.NullPointerException
42 at extest.main(extest.java:364)