diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/implementation-java')
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/JavaIntrospectionHelper.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/JavaIntrospectionHelper.java b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/JavaIntrospectionHelper.java index a04ad3721a..f67ebe793c 100644 --- a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/JavaIntrospectionHelper.java +++ b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/JavaIntrospectionHelper.java @@ -83,7 +83,8 @@ public final class JavaIntrospectionHelper { if (clazz == null || clazz.isArray() || Object.class.equals(clazz)) { return fields; } - fields = getAllPublicAndProtectedFields(clazz.getSuperclass(), fields, validating); + // TUSCANY-3924 - don't consider inherited fields + //fields = getAllPublicAndProtectedFields(clazz.getSuperclass(), fields, validating); Field[] declaredFields = null; @@ -136,7 +137,8 @@ public final class JavaIntrospectionHelper { return fields; } - fields = getInjectableFields(clazz.getSuperclass(), fields, validating); + // TUSCANY-3924 - don't consider inherited fields + //fields = getInjectableFields(clazz.getSuperclass(), fields, validating); Field[] declaredFields = null; @@ -235,7 +237,8 @@ public final class JavaIntrospectionHelper { } // evaluate class hierarchy - this is done last to track inherited // methods - methods = getAllUniqueMethods(pClass.getSuperclass(), methods, validating); + // TUSCANY-3924 - don't consider inherited fields + //methods = getAllUniqueMethods(pClass.getSuperclass(), methods, validating); return methods; } |