What steps will reproduce the problem?
1. Create a unit test with @WithGMock
2. Compile application
3.
What is the expected output? What do you see instead?
Test should run fine, but instead I get a compilation error:
A transform used a generics containing ClassNode groovy.lang.Closure <V extends java.lang.Object -> java.lang.Object> for the method protected java.lang.Object play(groovy.lang.Closure closure) { ... } directly. You are not suppposed to do this. Please create a new ClassNode refering to the old ClassNode and use the new ClassNode instead of the old one. Otherwise the compiler will create wrong descriptors and a potential NullPointerException in TypeResolver in the OpenJDK. If this is not your own doing, please report this bug to the writer of the transform.
What version of the product are you using? On what operating system?
0.8.1 Win 7 x64
Original issue reported on code.google.com by Cygan.Kr...@gmail.com on 22 Oct 2011 at 4:51
Original issue reported on code.google.com by
Cygan.Kr...@gmail.com
on 22 Oct 2011 at 4:51