Package: libhibernate3-java / 3.6.10.Final-3

0004-cglib3-compatibility.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix the compatibility with CGLIB 3
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/project/hibernate-core/src/main/java/org/hibernate/bytecode/cglib/CglibClassTransformer.java
+++ b/project/hibernate-core/src/main/java/org/hibernate/bytecode/cglib/CglibClassTransformer.java
@@ -80,7 +80,7 @@
 		}
 
 		String[] names = ClassNameReader.getClassInfo( reader );
-		ClassWriter w = new DebuggingClassWriter( ClassWriter.COMPUTE_MAXS  );
+		DebuggingClassWriter w = new DebuggingClassWriter( ClassWriter.COMPUTE_MAXS  );
 		ClassTransformer t = getClassTransformer( names );
 		if ( t != null ) {
 			if ( log.isDebugEnabled() ) {