[ https://issues.apache.org/jira/browse/GROOVY-9223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16907857#comment-16907857 ]
Xiaoguang Wang commented on GROOVY-9223: ---------------------------------------- Can you consider about this issue https://issues.apache.org/jira/browse/GROOVY-9075 also ? Even a clear exception message will make debugging easier. This problem has became a big issue in our team that they are afraid to write groovy code (hard to debug) > Avoid generating common methods for each groovy class > ----------------------------------------------------- > > Key: GROOVY-9223 > URL: https://issues.apache.org/jira/browse/GROOVY-9223 > Project: Groovy > Issue Type: Improvement > Reporter: Daniel Sun > Assignee: Daniel Sun > Priority: Major > Fix For: 3.0.0-beta-4 > > Time Spent: 10m > Remaining Estimate: 0h > > {{invokeMethod}}, {{getProperty}} and {{setProperty}} are common for groovy > classes, but they have to be generated for each groovy class as > {{GroovyObject}} is an interface and can not have default implementation > before Java8. > Groovy 3 is based on Java8, so we can leverage the power of default method in > interface to avoid generating common methods. As a result, the size of groovy > class files will be reduced, and the time costed on generating class files > will be reduced too. -- This message was sent by Atlassian JIRA (v7.6.14#76016)