2005-01-24 | Paul Boddie | file changeset files shortlog | 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. |
paul@67 | 1 | public abstract class AbstractClassTest { |
paul@67 | 2 | public static ConcreteClassTest member = new ConcreteClassTest(); |
paul@146 | 3 | |
paul@146 | 4 | public static void main(String[] args) { |
paul@146 | 5 | if (AbstractClassTest.member != null) { |
paul@146 | 6 | System.out.println("AbstractClassTest.member correct: " + AbstractClassTest.member); |
paul@146 | 7 | } else { |
paul@146 | 8 | System.err.println("AbstractClassTest.member failed!"); |
paul@146 | 9 | } |
paul@146 | 10 | } |
paul@67 | 11 | } |
paul@142 | 12 | |
paul@142 | 13 | // vim: tabstop=4 expandtab shiftwidth=4 |