[ https://issues.apache.org/jira/browse/GROOVY-6777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun updated GROOVY-6777: ------------------------------- Fix Version/s: (was: 3.x) 3.0.0-rc-1 > Inner class causes VerifierError > -------------------------------- > > Key: GROOVY-6777 > URL: https://issues.apache.org/jira/browse/GROOVY-6777 > Project: Groovy > Issue Type: Bug > Affects Versions: 2.3.0 > Reporter: Graeme Rocher > Priority: Major > Fix For: 3.0.0-rc-1 > > > Steps to reproduce: > {code} > git clone g...@github.com:grails-plugins/grails-resources.git > cd grails-resources > git checkout 0de76b489d83e43e6411cceaf28ff31d04620831 > ./grailsw test-app ResourceTagLibIntegTests > {code} > Exception: > {code} > | Failure: > testStashOfACustomTypeWithMultipleEntries(org.grails.plugin.resource.ResourceTagLibIntegTests) > | java.lang.VerifyError: (class: > org/grails/plugin/resource/ResourceTagLibIntegTests$FakeStashWriter, method: > setInterceptor signature: > (Lorg/codehaus/groovy/grails/test/support/GrailsTestInterceptor;)V) > Incompatible object argument for function call > at java.lang.Class.privateGetDeclaredConstructors(Class.java:2483) > at java.lang.Class.getDeclaredConstructors(Class.java:1891) > at > org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) > at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) > at > org.grails.plugin.resource.ResourceTagLibIntegTests.testStashOfACustomTypeWithMultipleEntries(ResourceTagLibIntegTests.groovy:231) > a > {code} > The way I had to fix it was moving the inner class out of the outer class: > https://github.com/grails-plugins/grails-resources/commit/cd0e434b6dbc871dac11c34337561cbed956b200#diff-9222340082e4e1253d5a0d4ea60ddcd7L244 -- This message was sent by Atlassian Jira (v8.3.4#803005)