* configure.ac: New switch for disabling -O2 (--disable-optimizations).
[cacao.git] / tests / InlineExTest4.java
1 public class InlineExTest4 {
2         public static void internal() throws Exception {
3                 try {
4                         throw new Exception("*");
5                 } catch (Exception e) {
6                         throw new Exception("*"+e.getMessage());
7                 }
8         }
9
10         public static void main(String args[]) {
11                 try {
12                         internal();
13                         System.out.println("ERROR EXCEPTION EXPECTED");
14                 } catch (Throwable  e) {
15                         System.out.println(e);
16                         System.out.println("End of outer exception handler");
17                         System.exit(0);
18                 }
19                 System.out.println("SHOULD NOT BE REACHED");
20         }
21 }