after review comments: more robust code wrt RuntimeException

This commit is contained in:
Maxim.Mossienko
2017-10-10 22:21:48 +02:00
parent 788c89306a
commit d870139be0
@@ -152,7 +152,7 @@ public class BasicJarHandler extends ZipHandlerBase {
myFile = file;
}
}
catch (IOException e) {
catch (IOException|RuntimeException e) {
myLock.unlock();
throw e;
}