Files
openide/java/java-tests/testData/refactoring/extractMethod/Finally_after.java
Dmitry Jemerov b7e66aee44 test++
2009-09-10 20:21:16 +04:00

26 lines
542 B
Java

class Test {
void method(){
newMethod();
someOtherCode();
}
private void newMethod() {
try {
process.waitFor();
}
catch(InterruptedException e) {
process.destroy();
}
finally {
try {
myParsingThread.join();
}
catch(InterruptedException e) {
}
compilerHandler.processTerminated();
}
synchronized (this) {
myParsingThread = null;
}
}
}