From: aguizar <nu...@jb...> - 2005-07-29 22:06:18
|
There are side effects. From the javadoc for getField(): anonymous wrote : Returns a Field object that reflects the specified public member field of the class or interface Effectively, getField() recurses upon superclasses, but only considers public fields. Conversely, getDeclaredField() considers all fields but does not recurse. Of course, jBPM should support inheritance of actions. Could you please open a JIRA issue? I propose that FieldInstantiator calls getDeclaredField() not only on the target class but all its superclasses until the field is found or Object.class is reached. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887393#3887393 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887393 |