mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
test++
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
class Test {
|
||||
void method(){
|
||||
<selection>try {
|
||||
process.waitFor();
|
||||
}
|
||||
catch(InterruptedException e) {
|
||||
process.destroy();
|
||||
}
|
||||
finally {
|
||||
try {
|
||||
myParsingThread.join();
|
||||
}
|
||||
catch(InterruptedException e) {
|
||||
}
|
||||
compilerHandler.processTerminated();
|
||||
}
|
||||
synchronized (this) {
|
||||
myParsingThread = null;
|
||||
}</selection>
|
||||
someOtherCode();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user