Fixed: #2362 Generating error log ExecutionException - InterruptedException log on switching flash/air swc

This commit is contained in:
Jindra Petřík
2024-11-03 17:29:48 +01:00
parent 11ae337d68
commit 7a04b4130f
2 changed files with 5 additions and 0 deletions

View File

@@ -276,6 +276,9 @@ public class DecompilerPool {
future.cancel(true);
throw ex;
} catch (ExecutionException ex) {
if (ex.getCause() instanceof InterruptedException) {
throw (InterruptedException) ex.getCause();
}
Logger.getLogger(DecompilerPool.class.getName()).log(Level.SEVERE, null, ex);
} finally {
List<Future<HighlightedText>> futures = openableToFutures.get(openable);