[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Plague of temp VFS files and OOM on redeploy

richard.opalka@jboss.com do-not-reply at jboss.com
Thu Jan 15 08:10:29 EST 2009


And how does your commit look like?
1.)

  | @Override
  | public void cleanup()
  | {
  |   try
  |   {
  |     super.cleanup();
  |   }
  |   finally
  |   {
  |     root.cleanup();
  |   }
  | }   
  | 
or 2.)

  | @Override
  | public void cleanup()
  | {
  |   try
  |   {
  |     root.cleanup();
  |   }
  |   finally
  |   {
  |     super.cleanup();
  |   }
  | }   
  | 

I'm asking because first approach is error prone (from maintainability point of view).
Seems we're starting to play catching game. I don't want to;)

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

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



More information about the jboss-dev-forums mailing list