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

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


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

commit aa9f16e9eee8181b1619fd77c621d5fd57b27e82
Author: 田小波 <[email protected]>
AuthorDate: Thu Nov 8 11:27:07 2018 +0800

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

diff --git 
a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractConfig.java
 
b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractConfig.java
index b1aeeed..fada00e 100644
--- 
a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractConfig.java
+++ 
b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractConfig.java
@@ -504,7 +504,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