I removed the "static" initializer, recompiled and it works fine but there is no more caching. I understand the motivation behind the "static" being placed there and it's perfectly logical since once it has been established that a particular subclass of the Decorator implements an accessor, there is no reason to re-compute it again. The cache instead of being keyed by property name should be keyed by the composition of the subclass of Decorator's name and by the property being accessed. I am sure there are better alternative solutions, may the community speak.
I'd point out that reflection is much lower overhead in the more recent versions of the VM, so caching may not be needed at all.
A.
-- Adam Sherman Tritus CG Inc +1 (613) 797-6819 http://www.tritus.ca/
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel
