Hi XWiki-devs I noticed that org.xwiki.component.util.ReflectionUtils.getAllFields(Class<?>) <https://github.com/xwiki/xwiki-commons/blob/master/xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-api/src/main/java/org/xwiki/component/util/ReflectionUtils.java#L59> does not return hidden fields <https://docs.oracle.com/javase/tutorial/java/IandI/hidevariables.html> of superclasses. These are actively filtered out by the implementation with the following comment:
*Make sure that if the same field is declared in a class and its superclass only the field used in the class will be returned.* This implementation caused NPE's for us because the ComponentManager did not inject annotated hidden fields. Can somebody provide a good reason for this implementation? Thanks for the feedback and regards Marc _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

