Bugfix: we need to examine methods from superclasses as well.
ProjectXZoneRegistry extends a class that is a ZoneProvider... git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6409 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -142,7 +142,7 @@ public class InvocationManager
|
|||||||
|
|
||||||
// determine the invocation service code mappings
|
// determine the invocation service code mappings
|
||||||
final Map<Integer,Method> invmeths = Maps.newHashMap();
|
final Map<Integer,Method> invmeths = Maps.newHashMap();
|
||||||
for (Method method : pclass.getDeclaredMethods()) {
|
for (Method method : pclass.getMethods()) {
|
||||||
Class<?>[] ptypes = method.getParameterTypes();
|
Class<?>[] ptypes = method.getParameterTypes();
|
||||||
// only consider methods whose first argument is of type ClientObject; this is a
|
// only consider methods whose first argument is of type ClientObject; this is a
|
||||||
// non-issue if we are looking at an auto-generated FooProvider interface, but is
|
// non-issue if we are looking at an auto-generated FooProvider interface, but is
|
||||||
|
|||||||
Reference in New Issue
Block a user