Need to splice the arguments, too.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6417 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -66,8 +66,7 @@ public class PeerUtil
|
||||
_pmethods.put(method, smethod = svc.getClass().getMethod(
|
||||
method.getName(), ArrayUtil.splice(ptypes, 0, 1)));
|
||||
}
|
||||
args[0] = client;
|
||||
return smethod.invoke(svc, args);
|
||||
return smethod.invoke(svc, ArrayUtil.splice(args, 0, 1));
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user