luky116 opened a new issue #1607:
URL: https://github.com/apache/dubbo-go/issues/1607


   我用 java-client 调用 java-server 的方法,方法返回值为 void,client收到后还是会将 void 
反射弄成对象导致解析失败。想问问为啥void类型返回值,还要进行反射实例化呢?
   dubbo版本是 3.0.2
   ![lQLPDhrkJNnUabDNA9zNBFOwBLRV3JoX6KEBowiplQBFAA_1107_988 
png_720x720g](https://user-images.githubusercontent.com/38887641/142819904-eb19b747-3940-40bf-9bc6-a2c8d36581bd.jpg)
   
   **复现方法:**
   启动java-server的main方法,用java-client的main执行` 
complexProvider.invokeWithEmptyReq()`,即可复现问题:
   
https://github.com/luky116/dubbo-go-samples/blob/fix-tpcTripleHessian2/rpc/triple/hessian2/java-client/src/main/java/com/apache/dubbo/sample/basic/ApiConsumer.java
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to