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 class WidgetTest extends qtjava.QWidget { 2 public WidgetTest(qtjava.QWidget parent, String name) { 3 super(parent, name); 4 } 5 6 public static void main(String[] args) { 7 String[] empty = new String[0]; 8 qtjava.QApplication app = new qtjava.QApplication(empty); 9 WidgetTest wt = new WidgetTest(null, "WidgetTest"); 10 wt.show(); 11 app.exec_loop(); 12 } 13 }