FELIX-3940 : Abstract class is not detected

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1451481 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/annotations/changelog.txt b/scrplugin/annotations/changelog.txt
index 7439df5..b9e0179 100644
--- a/scrplugin/annotations/changelog.txt
+++ b/scrplugin/annotations/changelog.txt
@@ -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
diff --git a/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java b/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
index f97d8af..e3a1c88 100644
--- a/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
+++ b/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
@@ -191,8 +191,7 @@
      */
     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));