Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.0
-
None
-
None
Description
Steps to reproduce:
git clone git@github.com:grails-plugins/grails-resources.git cd grails-resources git checkout 0de76b489d83e43e6411cceaf28ff31d04620831 ./grailsw test-app ResourceTagLibIntegTests
Exception:
| 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
The way I had to fix it was moving the inner class out of the outer class:
Attachments
Attachments
Issue Links
- relates to
-
GROOVY-6809 VerifyError With Inner Class
- Closed