dubbo-go icon indicating copy to clipboard operation
dubbo-go copied to clipboard

Generic call to Dubbo Java error when parameterTypes not provide

Open mark4z opened this issue 3 years ago • 2 comments
trafficstars

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:

  • [] set types = nil in generic filter
  • [] deal it in dubbo java

mark4z avatar Jun 30 '22 12:06 mark4z

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

mark4z avatar Jun 30 '22 12:06 mark4z

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

mark4z avatar Jul 03 '22 07:07 mark4z