aoqi@0: /* aoqi@0: * @test /nodynamiccopyright/ aoqi@0: * @bug 8000484 aoqi@0: * @summary Bad error recovery when 'catch' without 'try' is found aoqi@0: * @compile/fail/ref=T8000484.out -XDrawDiagnostics T8000484.java aoqi@0: */ aoqi@0: aoqi@0: public class T8000484 { aoqi@0: void m() { aoqi@0: catch (Exception e){} aoqi@0: else{} aoqi@0: finally{} aoqi@0: catch (Exception e) {catch (Exception e){}} aoqi@0: else{else{}} aoqi@0: finally{finally{}} aoqi@0: } aoqi@0: }