Repository: groovy Updated Branches: refs/heads/master 0f77eb19d -> afe5851af
fix typo Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/4425a702 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/4425a702 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/4425a702 Branch: refs/heads/master Commit: 4425a702b91addf334ed46199da5e70a435b4ae7 Parents: 0f77eb1 Author: paulk <[email protected]> Authored: Fri Nov 17 15:56:58 2017 +1000 Committer: paulk <[email protected]> Committed: Fri Nov 17 20:33:45 2017 +1000 ---------------------------------------------------------------------- .../codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/4425a702/src/main/org/codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java ---------------------------------------------------------------------- diff --git a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java b/src/main/org/codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java index 778d740..640d775 100644 --- a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java +++ b/src/main/org/codehaus/groovy/classgen/asm/sc/StaticInvocationWriter.java @@ -59,7 +59,7 @@ import static org.objectweb.asm.Opcodes.*; public class StaticInvocationWriter extends InvocationWriter { private static final ClassNode INVOKERHELPER_CLASSNODE = ClassHelper.make(InvokerHelper.class); - private static final Expression INVOKERHELER_RECEIVER = new ClassExpression(INVOKERHELPER_CLASSNODE); + private static final Expression INVOKERHELPER_RECEIVER = new ClassExpression(INVOKERHELPER_CLASSNODE); private static final MethodNode INVOKERHELPER_INVOKEMETHOD = INVOKERHELPER_CLASSNODE.getMethod( "invokeMethodSafe", new Parameter[]{ @@ -290,7 +290,7 @@ public class StaticInvocationWriter extends InvocationWriter { // replace call with an invoker helper call ArrayExpression arr = new ArrayExpression(ClassHelper.OBJECT_TYPE, args.getExpressions()); MethodCallExpression mce = new MethodCallExpression( - INVOKERHELER_RECEIVER, + INVOKERHELPER_RECEIVER, target.isStatic() ? "invokeStaticMethod" : "invokeMethodSafe", new ArgumentListExpression( target.isStatic() ?
