From bfd1f7910782398a026b73762adc5e00d793647b Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Mon, 3 Jan 2011 21:17:55 +0000 Subject: [PATCH] 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 --- .../java/com/threerings/presents/server/InvocationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/threerings/presents/server/InvocationManager.java b/src/main/java/com/threerings/presents/server/InvocationManager.java index 2122549f8..33fc7daad 100644 --- a/src/main/java/com/threerings/presents/server/InvocationManager.java +++ b/src/main/java/com/threerings/presents/server/InvocationManager.java @@ -142,7 +142,7 @@ public class InvocationManager // determine the invocation service code mappings final Map invmeths = Maps.newHashMap(); - for (Method method : pclass.getDeclaredMethods()) { + for (Method method : pclass.getMethods()) { Class[] ptypes = method.getParameterTypes(); // 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