Sorry for dropping the subject. Vlad Mihalcea will trya nd look at this next week but will need your help to thoroughly test this. Because if we screw up and if getMetaClass needs the state in the end we will break Grails and Groovy apps al over the place. To summarize, I think my previous self was proposing to filter Groovy's getMetaClass() calls in the proxy and not trigger the initialize method call. Of course we can't depend on Grovvy so we would need to do some String comparison and make sure it's not a non Groovy getter that happens to be called getMetaClass. |