Author: scabanovich
Date: 2011-10-06 19:47:06 -0400 (Thu, 06 Oct 2011)
New Revision: 35441
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/extension/CDIExtensionFactory.java
Log:
JBIDE-9852
https://issues.jboss.org/browse/JBIDE-9852
Extension features from superclass loaded.
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/extension/CDIExtensionFactory.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/extension/CDIExtensionFactory.java 2011-10-06
23:17:14 UTC (rev 35440)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/extension/CDIExtensionFactory.java 2011-10-06
23:47:06 UTC (rev 35441)
@@ -122,6 +122,10 @@
for (Class<?> c: is) {
getFeatures(c, result);
}
+ if(!cls.isInterface()) {
+ Class<?> s = cls.getSuperclass();
+ if(s != null) getFeatures(s, result);
+ }
}
boolean isFeature(Class<?> cls) {