kazetyan commented on issue #13363:
URL: https://github.com/apache/dubbo/issues/13363#issuecomment-1831588580

   ## 问题
   
![image](https://github.com/apache/dubbo/assets/50894526/b29e393e-09e7-4140-848b-6c55e13545c8)
   
![image](https://github.com/apache/dubbo/assets/50894526/e0af6028-9f9f-45de-a5b0-116fe9d8a5c7)
   
![image](https://github.com/apache/dubbo/assets/50894526/57a4953d-461a-472b-96c5-9c86ea93a538)
   `ParameterizedTypeImpl`和`Class` 并没有继承关系,强转报错了
   ## 改动+验证
   ### 单元测试
   
![image](https://github.com/apache/dubbo/assets/50894526/6176e558-8758-40e6-801c-bbb1429d44aa)
   看这的逻辑似乎是想获取`StreamObserver<X>`里的X的类型,加个判断,如果X也带泛型,获取X本身的类型
   ### 集成测试
   改动前
   
![image](https://github.com/apache/dubbo/assets/50894526/3c12b9f0-79a2-4114-aa13-e070b6ad6701)
   改动后
   
![image](https://github.com/apache/dubbo/assets/50894526/fdc0f5d1-614c-4fff-9b89-9b2baa7c6f31)
   


-- 
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