Details
-
Bug
-
Resolution: Done
-
Major
-
EAP 5.0.0.CR3, EAP 5.0.0.CR4 (FCS and BETA2)
-
None
Description
The versions of CGLib and ASM included in EAP5 causes the test org.hibernate.test.bytecode.cglib.ReflectionOptimizerTest to fail. When using the JARs specified in Hibernate Core's pom.xml , the same test passes.
Four variants were tested:
1) cglib.jar and asm.jar from Seam distributed in EAP5
2) cglib-nodep.jar also from Seam.
3) cglib-nodep and asm from RESTeasy distributed in EAP5.
4) JARs from local maven repository, based on the versions specified in Hibernate Core's pom.xml from tag Branch_3_3_2_GA_CP
The first 3 variants fails and the following output is recorded:
11:37:07,608 INFO UnitTestCase:? - Starting test org.hibernate.test.bytecode.cglib.ReflectionOptimizerTest#testReflectionOptimization
11:37:07,804 WARN BytecodeProviderImpl:50 - The CGLIB BytecodeProvider impl is considered deprecated and not recommended for use
11:37:08,050 DEBUG BytecodeProviderImpl:95 - reflection optimizer disabled for: org.hibernate.test.bytecode.Bean [CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
11:37:08,050 INFO UnitTestCase:? - Completed test org.hibernate.test.bytecode.cglib.ReflectionOptimizerTest#testReflectionOptimization
The fourth passes, but is not a valid workaround, as it should work with the shipped binaries.
Attachments
Issue Links
- blocks
-
JBPAPP-2727 Missed cglib.jar and asm.jar in EAP zip and Jar installer
- Closed
- relates to
-
JBPAPP-3445 org.objectweb.asm.lib property in build-distr.xml not found error
- Closed