Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 4294e094220f9e76a9576270d659f9b7 > files > 15

bsh2-2.0b5-4.mga2.src.rpm

--- src/bsh/ClassGeneratorUtil.java	2010-12-31 17:02:22.000000000 +0100
+++ src/bsh/ClassGeneratorUtil.java-gil	2010-12-31 17:04:26.000000000 +0100
@@ -303,7 +303,7 @@
 	static void generateField( 
 		String fieldName, String type, int modifiers, ClassWriter cw ) 
 	{
-		cw.visitField( modifiers, fieldName, type, null/*value*/ );
+		cw.visitField( modifiers, fieldName, type, null, null );
 	}
 	
 	/**
@@ -327,7 +327,7 @@
 
 		// Generate method body
 		CodeVisitor cv = cw.visitMethod( 
-			modifiers, methodName, methodDescriptor, exceptions );
+			modifiers, methodName, methodDescriptor, exceptions, null );
 
 		if ( (modifiers & ACC_ABSTRACT) != 0 )
 			return;
@@ -405,7 +405,7 @@
 
 		// Create this constructor method
 		CodeVisitor cv = 
-			cw.visitMethod( modifiers, "<init>", methodDescriptor, exceptions );
+			cw.visitMethod( modifiers, "<init>", methodDescriptor, exceptions, null );
 
 		// Generate code to push arguments as an object array
 		generateParameterReifierCode( paramTypes, false/*isStatic*/, cv );
@@ -606,7 +606,7 @@
 
 		// Add method body
 		CodeVisitor cv = cw.visitMethod( 
-			modifiers, "_bshSuper"+methodName, methodDescriptor, exceptions );
+			modifiers, "_bshSuper"+methodName, methodDescriptor, exceptions, null );
 
 		cv.visitVarInsn(ALOAD, 0);
 		// Push vars