package org.eclipse.jdt.core.tests.compiler.regression; public class UnreachableCatchBlockTest extends AbstractRegressionTest { public UnreachableCatchBlockTest(String name) { super(name); } public void test40736() { final String[] samples = { "prs/Test40736.java", "package prs;\n"+ "public class Test40736\n"+ "{\n"+ " public void method()\n"+ " {\n"+ " if (false) {\n"+ " try {\n"+ " try {\n"+ " throw new InterruptedException();\n"+ " } finally {\n"+ " System.out.println();\n"+ " }\n"+ " }\n"+ " catch(InterruptedException e) {\n"+ " }\n"+ " }\n"+ " }\n"+ "}\n" }; runConformTest(samples); } }