Home | History | Annotate | Download | only in src
      1 // Copyright 2008 The Android Open Source Project
      2 
      3 public class Main {
      4     int mFoo = 27;
      5 
      6     private void doStuff() {
      7         System.out.println("mFoo is " + mFoo);
      8     }
      9 
     10     public static void main(String[] args) {
     11         Main instance = null;
     12         try {
     13             instance.doStuff();
     14             throw new RuntimeException("fail");
     15         } catch (NullPointerException npe) { }
     16 
     17         System.out.println("done");
     18     }
     19 }
     20