felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1451481 - in /felix/trunk/scrplugin/annotations: changelog.txt src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
Date Fri, 01 Mar 2013 06:46:38 GMT
Author: cziegeler
Date: Fri Mar  1 06:46:38 2013
New Revision: 1451481

URL: http://svn.apache.org/r1451481
Log:
FELIX-3940 : Abstract class is not detected

Modified:
    felix/trunk/scrplugin/annotations/changelog.txt
    felix/trunk/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java

Modified: felix/trunk/scrplugin/annotations/changelog.txt
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/annotations/changelog.txt?rev=1451481&r1=1451480&r2=1451481&view=diff
==============================================================================
--- felix/trunk/scrplugin/annotations/changelog.txt (original)
+++ felix/trunk/scrplugin/annotations/changelog.txt Fri Mar  1 06:46:38 2013
@@ -1,4 +1,10 @@
-Changes from 1.8.0 to 1.7.0
+ Changes from 1.9.0 to 1.8.0
+----------------------------
+** Bug
+    * [FELIX-3940] - Abstract class is not detected 
+ 
+ 
+ Changes from 1.8.0 to 1.7.0
 ----------------------------
 ** Improvement
     * [FELIX-3169] - Add support for new PASSWORD attribute type of Metatype service

Modified: felix/trunk/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
URL: http://svn.apache.org/viewvc/felix/trunk/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java?rev=1451481&r1=1451480&r2=1451481&view=diff
==============================================================================
--- felix/trunk/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
(original)
+++ felix/trunk/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
Fri Mar  1 06:46:38 2013
@@ -191,8 +191,7 @@ public class SCRAnnotationProcessor impl
      */
     private ComponentDescription createComponent(final ClassAnnotation cad, final ScannedClass
scannedClass) {
         final ComponentDescription component = new ComponentDescription(cad);
-
-        final boolean classIsAbstract = Modifier.isAbstract(scannedClass.getClass().getModifiers());
+        final boolean classIsAbstract = Modifier.isAbstract(scannedClass.getScannedClass().getModifiers());
         component.setAbstract(cad.getBooleanValue("componentAbstract", classIsAbstract));
 
         component.setCreatePid(cad.getBooleanValue("createPid", true));



Mime
View raw message