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

@@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
- [#2357] FLA export letterspacing on two character texts
- [#2357] FLA export to CS4 and lower - files exceeding 0x7FFF objects limit
- [#2357] FLA export to CS4 and lower - speed optimization
- [#2362] Generating error log ExecutionException - InterruptedException log on switching flash/air swc
## [21.1.3] - 2024-10-29
### Fixed
@@ -3645,6 +3646,7 @@ Major version of SWF to XML export changed to 2.
[alpha 7]: https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/alpha7
[#2357]: https://www.free-decompiler.com/flash/issues/2357
[#2361]: https://www.free-decompiler.com/flash/issues/2361
[#2362]: https://www.free-decompiler.com/flash/issues/2362
[#2344]: https://www.free-decompiler.com/flash/issues/2344
[#2348]: https://www.free-decompiler.com/flash/issues/2348
[#2341]: https://www.free-decompiler.com/flash/issues/2341

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);