[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: PropertyInfo type creation

scott.stark@jboss.org do-not-reply at jboss.com
Wed Aug 8 14:07:10 EDT 2007


We should be restrictive on the type so if the setter is more specific use that. If its parameterized you have to assume somewhere SimpleBean bean = beans.get(0) is being used, and allowing a list for which this would not work would cause a CCE.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072136#4072136

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072136



More information about the jboss-dev-forums mailing list