Fix wrong return types for StubMethodDescriptor (#13200)
This commit is contained in:
parent
3e50bdd16f
commit
027aba599e
|
|
@ -63,7 +63,7 @@ public class StubMethodDescriptor implements MethodDescriptor, PackableMethod {
|
|||
this.returnClass = responseClass;
|
||||
this.paramDesc = ReflectUtils.getDesc(parameterClasses);
|
||||
this.compatibleParamSignatures = Stream.of(parameterClasses).map(Class::getName).toArray(String[]::new);
|
||||
this.returnTypes = new Type[]{requestClass, requestClass};
|
||||
this.returnTypes = new Type[]{responseClass, responseClass};
|
||||
serviceDescriptor.addMethod(this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue