[
https://issues.apache.org/jira/browse/GROOVY-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Theodorou resolved GROOVY-3825.
--------------------------------------
Assignee: Jochen Theodorou
Resolution: Fixed
This has been fixed a long time ago. Should there still be cases for this we
have to look at them specifically and in a new issue
> Byte code generator (used by GroovyScriptEngine, GroovyShell &
> GroovyClassLoader) flag invalid methods
> ------------------------------------------------------------------------------------------------------
>
> Key: GROOVY-3825
> URL: https://issues.apache.org/jira/browse/GROOVY-3825
> Project: Groovy
> Issue Type: Improvement
> Components: class generator
> Affects Versions: 1.6.5, 1.7-beta-2
> Reporter: jwb
> Assignee: Jochen Theodorou
> Priority: Minor
> Labels: ClassFormatError
>
> When generating code for the Groovy compiler, one frequently exceeds the
> Class file format limit on method size. The resulting ClassFormatError from
> the ClassLoader doesn't effectively point at the problem. In addition, the
> Error is not a type of Exception and so is not picked up by conventional
> logging.
> Ideally, the methods that generate class files would abort code-generation
> and throw a type of Exception when the generated method exceeds the limit
> imposed by the class file format.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)