Details
-
Bug
-
Resolution: Done
-
Major
-
4.2.0.GA_CP02
-
None
-
None
-
hibernate using cglib (instead of javassist)
Description
The version of cglib released with EAP 4.2 CP01 and CP02 was the "no-dep" version which contains a jarjar'ed version of asm and asm-attrs. EAP should be distributed with the "dep" version of cglib as well as asm.jar and asm-attrs.jar.
This is because Hibernate requires that asm and asm-attrs be accessed directly in the org.objectweb.asm namespace, but cglib references the jarjar'ed version of asm in net.sf.cglib.asm. As a result, hibernate is not usable with cglib in EAP as released in cp01 and cp02, since it will fail with a ClassCastException.