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
{{ message }}
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.
见DubboConsumerAutoConfiguration的源码,77~79行,
77:ClassIdBean classIdBean = new ClassIdBean(interfaceClass, group, version);
78: Object dubboReference =
79: DubboConsumerAutoConfiguration.DUBBO_REFERENCES_MAP.get(classIdBean);
假设在一个类里面同时引用多个Reference:
@reference(interfaceName = "BankInnerTransfer",generic = true,check = false )
public Object bankInnerTransferReference = null;
@reference(interfaceName = "QueryAvaliableBalance",generic = true,check = false )
public Object queryAvaliableBalanceReference = null;
此时,bankInnerTransferReference和queryAvaliableBalanceReference是一样的
出现这个问题的原因是,79行中,获取了generic的实现类,所有的generic实现类是相同的,应该针对这种情况做一下区分。在dubbo2.6中,如果使用标签的形式就没有问题,希望修复该bug。
The text was updated successfully, but these errors were encountered: