You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
RPC服务的方法中,参数使用自定义类型数组时(且自定义类型是接口interface),客户端调用后报错:
argument type mismatch
。Expected behavior
希望可以使用任何类型的数组作为参数。比如有
interface Id
,可使用Id[]
作为方法参数。Actual behavior
服务端调用业务方法时,Object[]无法转换为Id[]而报错:
更多记录信息可参考:https://blog.csdn.net/javeme/article/details/113802090
Steps to reproduce
Minimal yet complete reproducer code (or GitHub URL to code)
Environment
java -version
): 8uname -a
): MacThe text was updated successfully, but these errors were encountered: