Hey guys,
I wanted to mock a TreeGrid using PowerMock/EasyMock:
but this simple line is generating the following exception:
I read somewhere that JVM cannot support method length more than 64K which I think is the case here but how can I solve this knowing that I cannot change anything inside TreeGrid source code or EasyMock source code?
PS: Using powermock 1.4.12, I can now mock the ListGrid, but I still have th problem for the TreeGrid
I wanted to mock a TreeGrid using PowerMock/EasyMock:
Code:
TreeGrid treeGridMock = PowerMock.createMock(TreeGrid .class);
Code:
Caused by: java.lang.ClassFormatError: Invalid method Code length 69051 in class file com/smartgwt/client/widgets/tree/TreeGrid$$EnhancerByCGLIB$$fe8a4b2b
PS: Using powermock 1.4.12, I can now mock the ListGrid, but I still have th problem for the TreeGrid
Comment