I would like to know if/why I should upgrade CGLib 2.2.2 to Version 3.0. I am using CGLib with the latest versions of Hibernate/Spring/Mockito and Java 7.
I can not find release notes or upgrade directions for this version anywhere on the web.
Yes you should migrate to CGLib 3.1 because it can correctly generate stack map frame and deal with Java 7 bytecode.
The following issues were all addressed by CGLib 3.1
We're using EasyMock and switched to a custom version of CGLIB 3. We switched because code coverage with EclEmma/JaCoCo/Sonar would no longer work. It was more or less a drop in replacement (apart from updating POMs). Unfortunately
So if you don't currently have any issues like code coverage no longer working I would not switch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With