Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/injector/src/main/java/org/jboss/injection/injector/util/InjectionP
- index 26cec3f..429ad0c 100644
- --- a/injector/src/main/java/org/jboss/injection/injector/util/InjectionPointFac
- +++ b/injector/src/main/java/org/jboss/injection/injector/util/InjectionPointFac
- @@ -45,6 +45,11 @@ public class InjectionPointFactory
- if(writeMethod != null)
- return new MethodInjectionPoint(writeMethod);
- + // TODO: this is a bug in JBMETA where we can get a property name as a me
- + writeMethod = findWriteMethod(cls, property);
- + if(writeMethod != null)
- + return new MethodInjectionPoint(writeMethod);
- +
- try
- {
- Field field = cls.getDeclaredField(property);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement