apache / dubbo-go

Go Implementation For Apache Dubbo .
https://dubbo.apache.org/
Apache License 2.0
4.71k stars 925 forks source link

Generic call to Dubbo Java error when parameterTypes not provide #1947

Closed mark4z closed 2 years ago

mark4z commented 2 years ago

What happened: Generic call to Dubbo Java error when parameterTypes not provide, dubbo-go is free. What you expected to happen:

How to reproduce it (as minimally and precisely as possible): Just like this: image

Anything else we need to know?: When dubbo go is called by generalization, it can be called normally because there is no method overloading problem and there is no need to use the types parameter. However, when dubbo java provider is called and types is nil, types = []interface{} is passed in by default, which causes java to report an error. Possible solution:

mark4z commented 2 years ago

https://github.com/apache/dubbo/issues/10243

mark4z commented 2 years ago

fixed by https://github.com/apache/dubbo-go-hessian2/issues/317