summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/implementation-java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-02-10 09:43:24 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-02-10 09:43:24 +0000
commit0cc7b6691596eec2822d4d4c6b35b25e5f905efc (patch)
treeadc5da684cf391798e85fc02e35bc792729a7e0b /sca-java-2.x/trunk/modules/implementation-java
parent59412d176cd4e7950cb48e48580a6de6fb8fec70 (diff)
TUSCANY-3924 - revert some of the previous changes. we need to look at whether we are interpreting the spec correctly
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1242718 13f79535-47bb-0310-9956-ffa450edef68
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.java9
1 files changed, 3 insertions, 6 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 f67ebe793c..a04ad3721a 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,8 +83,7 @@ public final class JavaIntrospectionHelper {
if (clazz == null || clazz.isArray() || Object.class.equals(clazz)) {
return fields;
}
- // TUSCANY-3924 - don't consider inherited fields
- //fields = getAllPublicAndProtectedFields(clazz.getSuperclass(), fields, validating);
+ fields = getAllPublicAndProtectedFields(clazz.getSuperclass(), fields, validating);
Field[] declaredFields = null;
@@ -137,8 +136,7 @@ public final class JavaIntrospectionHelper {
return fields;
}
- // TUSCANY-3924 - don't consider inherited fields
- //fields = getInjectableFields(clazz.getSuperclass(), fields, validating);
+ fields = getInjectableFields(clazz.getSuperclass(), fields, validating);
Field[] declaredFields = null;
@@ -237,8 +235,7 @@ public final class JavaIntrospectionHelper {
}
// evaluate class hierarchy - this is done last to track inherited
// methods
- // TUSCANY-3924 - don't consider inherited fields
- //methods = getAllUniqueMethods(pClass.getSuperclass(), methods, validating);
+ methods = getAllUniqueMethods(pClass.getSuperclass(), methods, validating);
return methods;
}