liubao68 commented on code in PR #4103:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/4103#discussion_r1420028452


##########
foundations/foundation-common/src/main/java/org/apache/servicecomb/foundation/common/utils/BeanUtils.java:
##########
@@ -147,7 +150,10 @@ public static <T> T getBean(Class<T> type) {
       // for some test case
       return null;
     }
-    return context.getBean(type);
+    if (beanClass.get(type) == null) {

Review Comment:
   It is not good to modify BeanUtils.  Just fix InvokerUtils is enough. 



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

Reply via email to