marc fleury wrote:
> So I just spent 2 hours spotting the following interesting bug
>
> HashMap deployments ...
>
> Iterator it = deployments.keySet().iterator();
>
> while (it.hasNext());
> {
> do something();
> }
>
> which would peg my CPU at 100% and never reach do something ...
>
> man I am a clown... can you see it? 2 hours!
Well.. it's the same thing as RequiredModelMBean.setAttributes in the
JMX RI. Except, they did it by catching an exception and ignoring it
with an empty catch clause.
Now you won't do it again at least. :-)
/Rickard
--
Rickard �berg
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development