mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
after review comments: more robust code wrt RuntimeException
This commit is contained in:
@@ -152,7 +152,7 @@ public class BasicJarHandler extends ZipHandlerBase {
|
||||
myFile = file;
|
||||
}
|
||||
}
|
||||
catch (IOException e) {
|
||||
catch (IOException|RuntimeException e) {
|
||||
myLock.unlock();
|
||||
throw e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user