Avoid ArrayIndexOutOfBoundsException.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6408 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -149,7 +149,7 @@ public class InvocationManager
|
|||||||
// necessary to avoid problems for legacy concrete FooProvider implementations that
|
// necessary to avoid problems for legacy concrete FooProvider implementations that
|
||||||
// also happen to have overloaded methods with the same name as invocation service
|
// also happen to have overloaded methods with the same name as invocation service
|
||||||
// methods; I'm looking at you ChatProvider...
|
// methods; I'm looking at you ChatProvider...
|
||||||
if (!ClientObject.class.isAssignableFrom(ptypes[0])) {
|
if (ptypes.length == 0 || !ClientObject.class.isAssignableFrom(ptypes[0])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user