[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Generic properties on interface and impl class

alesj do-not-reply at jboss.com
Mon Oct 29 12:52:17 EDT 2007


Sure, but you can see that those are volatile.

Where in the code you cannot do:

  |    public volatile String getSomething()
  |    {
  |       return "";     
  |    }
  | 

If I add volatile restriction to AbstractBeanInfoFactory

  |                if (result.contains(minfos[j]) == false && minfos[j].isPublic() && minfos[j].isStatic() == false && minfos[j].isVolatile() == false)
  |                   result.add(minfos[j]);
  | 
your test passes, and none of the previous is broken.

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

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



More information about the jboss-dev-forums mailing list