I believe this should be null, rather than Object.class; the system was
looking for something assignable from Object (rather than the other way around) when the argument was null. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4346 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -116,7 +116,7 @@ public class DynamicListener
|
||||
Class[] ptypes = new Class[arguments.length];
|
||||
for (int ii = 0; ii < arguments.length; ii++) {
|
||||
ptypes[ii] = arguments[ii] == null ?
|
||||
Object.class : arguments[ii].getClass();
|
||||
null : arguments[ii].getClass();
|
||||
}
|
||||
try {
|
||||
return _finder.findMethod(name, ptypes);
|
||||
|
||||
Reference in New Issue
Block a user