blob: 46f5685fe587d1ca56579a9a861092aa44f80f09 [file] [log] [blame]
package try17_out;
class Foo6 extends Exception {}
class Bar6 extends Exception {}
public class A_test6 {
void foo() throws Exception {
extracted();
}
protected void extracted() throws Foo6 {
/*[*/try (Test6 t = new Test6()) {
}/*]*/
}
}
class Test6 implements AutoCloseable {
Test6() throws Foo6 {
}
@Override
public void close() {
}
}