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

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

Closed
mark4z opened this issue Jun 30, 2022 · 2 comments
Closed

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

mark4z opened this issue Jun 30, 2022 · 2 comments

Comments

@mark4z
Copy link
Member

mark4z commented Jun 30, 2022

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
Copy link
Member Author

mark4z commented Jun 30, 2022

apache/dubbo#10243

@mark4z
Copy link
Member Author

mark4z commented Jul 3, 2022

fixed by apache/dubbo-go-hessian2#317

@mark4z mark4z closed this as completed Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant