commit | 19974918e6759967f107be47e8c5882b730f7295 | [log] [tgz] |
---|---|---|
author | Clement Escoffier <clement@apache.org> | Thu Oct 03 14:11:09 2013 +0000 |
committer | Clement Escoffier <clement@apache.org> | Thu Oct 03 14:11:09 2013 +0000 |
tree | 4b680b0b4826cb947a53c5e1fca913aa25ad0284 | |
parent | 24b42a7c64a9e99ef6d52beb2d05d8f1f0bea18f [diff] |
Reduce the check to determine if the class was already manipulated or not. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1528876 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/ClassChecker.java b/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/ClassChecker.java index c7bdaec..479a026 100644 --- a/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/ClassChecker.java +++ b/ipojo/manipulator/manipulator/src/main/java/org/apache/felix/ipojo/manipulation/ClassChecker.java
@@ -98,7 +98,7 @@ public FieldVisitor visitField(int access, String name, String desc, String signature, Object value) { - if (access == 0 && name.equals(MethodCreator.IM_FIELD) + if (name.equals(MethodCreator.IM_FIELD) && desc.equals("Lorg/apache/felix/ipojo/InstanceManager;")) { m_isAlreadyManipulated = true; } else if (name.startsWith("class$")) { // Does not add class$* field generated by 'x.class'