Domanda

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.

È stato utile?

Soluzione

Yes you should migrate to CGLib 3.1 because it can correctly generate stack map frame and deal with Java 7 bytecode.

Update

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top