Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dubbo-2766]fix the bug of isMatch method of InvokeTelnetHandler #2787

Merged
merged 11 commits into from
Dec 11, 2018
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ private static boolean isMatch(Class<?>[] types, List<Object> args) {
if (!ReflectUtils.isPrimitive(type)) {
return false;
}
Class<?> boxedType = ReflectUtils.getBoxedClass(type);
if (boxedType != arg.getClass()) {
return false;
}
} else if (arg instanceof Map) {
String name = (String) ((Map<?, ?>) arg).get("class");
Class<?> cls = arg.getClass();
Expand Down