Fixed: #2519 AS1/2 direct editation - generating too large ConstantPool

This commit is contained in:
Jindra Petřík
2025-08-23 21:17:02 +02:00
parent cf55a8b897
commit d086d7bf7f
5 changed files with 57 additions and 9 deletions
@@ -1459,6 +1459,7 @@ public class ActionPanel extends JPanel implements SearchListener<ScriptSearchRe
mainPanel.refreshTree(src.getSwf());
}
} catch (ValueTooLargeException ex) {
logger.log(Level.SEVERE, "Cannot save", ex);
ViewMessages.showMessageDialog(this, AppStrings.translate("error.action.save.valueTooLarge"), AppStrings.translate("error"), JOptionPane.ERROR_MESSAGE);
} catch (IOException ex) {
logger.log(Level.SEVERE, "IOException during action compiling", ex);