This is an automated email from the ASF dual-hosted git repository.

carryxyh pushed a commit to branch 2.6.x
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/2.6.x by this push:
     new a1b27ab  Fix the bug that ReferenceBean refers service more than once 
when debugging. (#2759)
a1b27ab is described below

commit a1b27ab18c56d17284140d4806241d73eff56e6f
Author: 田小波 <[email protected]>
AuthorDate: Thu Nov 8 12:45:52 2018 +0800

    Fix the bug that ReferenceBean refers service more than once when 
debugging. (#2759)
    
    note:
    please visit http://t.cn/EAhta27 for more detail.
---
 .../src/main/java/com/alibaba/dubbo/config/AbstractConfig.java         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/AbstractConfig.java
 
b/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/AbstractConfig.java
index 548205e..1805e49 100644
--- 
a/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/AbstractConfig.java
+++ 
b/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/AbstractConfig.java
@@ -457,7 +457,8 @@ public abstract class AbstractConfig implements 
Serializable {
                 try {
                     String name = method.getName();
                     if ((name.startsWith("get") || name.startsWith("is"))
-                            && !"getClass".equals(name) && !"get".equals(name) 
&& !"is".equals(name)
+                            && !"get".equals(name) && !"is".equals(name)
+                            && !"getClass".equals(name) && 
!"getObject".equals(name)
                             && Modifier.isPublic(method.getModifiers())
                             && method.getParameterTypes().length == 0
                             && isPrimitive(method.getReturnType())) {

Reply via email to