Message4504
Please find attached a patch which fixes the issue without breaking the
tests you mentioned.
Cause: PyJavaType.init() refusing to overwrite any 'dict' entry with the
same name, with a bean property, that was not already a bean property or
bean event.
The desired behavior (of my original patch) was to prevent methods in
superclasses being overridden, *but*, the behavior that resulted
prevented bean properties from being registered when anything was
registered under that name, including class properties.
The new patch ensures that overriding is only prevented when the
definition being overridden comes from a superclass, by calling
lookup_where() instead of lookup(), and checking that the original
definition is NOT from the current class. |
|
Date |
User |
Action |
Args |
2009-04-13 18:02:26 | MrMeanie | set | messageid: <1239645746.28.0.337283982332.issue1271@psf.upfronthosting.co.za> |
2009-04-13 18:02:26 | MrMeanie | set | recipients:
+ MrMeanie, fwierzbicki |
2009-04-13 18:02:26 | MrMeanie | link | issue1271 messages |
2009-04-13 18:02:25 | MrMeanie | create | |
|