2005-01-24 | Paul Boddie | raw annotate files changeset graph | Introduced exception table entry merging to try and preserve proper "finally" section handling. With the extra JDK 1.4 catch_type == 0 entries and the naive translation performed, multiple "finally" sections get created instead of a single section covering the entire original exception statement. This merging process attempts to identify redundant sections. |
1 public abstract class AbstractClassTest { 2 public static ConcreteClassTest member = new ConcreteClassTest(); 3 4 public static void main(String[] args) { 5 if (AbstractClassTest.member != null) { 6 System.out.println("AbstractClassTest.member correct: " + AbstractClassTest.member); 7 } else { 8 System.err.println("AbstractClassTest.member failed!"); 9 } 10 } 11 } 12 13 // vim: tabstop=4 expandtab shiftwidth=4