Commit 597657be authored by Lukáš Marek's avatar Lukáš Marek

lost fix applied to trunk before the trunk cleanup

parent d9a5dcdc
......@@ -312,7 +312,7 @@ public abstract class AsmHelper {
}
public static InsnNode loadNull () {
public static InsnNode loadDefault () {
return loadDefault (Type.getType (Object.class));
}
......
......@@ -78,7 +78,7 @@ public class Weaver {
if (type.getSort () != Type.ARRAY) {
instructions.insertBefore (first, AsmHelper.loadDefault (type));
} else {
instructions.insertBefore (first, AsmHelper.loadNull ());
instructions.insertBefore (first, AsmHelper.loadDefault ());
instructions.insertBefore (first, AsmHelper.checkCast (type));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment