silently catch non-critical IOException in groovyc

This commit is contained in:
peter
2009-11-25 18:13:38 +00:00
parent 044c141a60
commit afc0c893c7
@@ -141,7 +141,13 @@ public class GroovycStubGenerator extends GroovyCompilerBase {
deleteChildrenRecursively(child);
}
TranslatingCompilerFilesMonitor.removeSourceInfo(child);
child.delete(this);
try {
child.delete(this);
}
catch (IOException ignored) {
//may be a leaked handle from some non-completely terminated compiler process, or compiler caches, or something else
//not a big deal, we'll delete it next time
}
}
}
}.execute();