[jboss-dev-forums] [Other JBoss Development Design] - Re: failing org.jboss.test.util.test.ThreadPoolRunnableUnitT

scott.stark@jboss.org do-not-reply at jboss.com
Fri Mar 2 21:59:51 EST 2007


There have not been any changes, but this test uses the unreliable Thread.stop call. The call is ending with a ThreadDeath that is not being handled. Its not clear why this test would have worked in the based as BasicThreadPool.run never has handled this exception. I guess some vms are not throwing it.


  | 18:31:59,256 WARN  [RunnableTaskWrapper] Unhandled throwable for runnable: org.jboss.test.util.test.ThreadPoolRunnableUnitTestCase$TestRunnable at be41ec
  | java.lang.ThreadDeath
  | 	at java.lang.Thread.stop(Thread.java:698)
  | 	at org.jboss.util.threadpool.RunnableTaskWrapper.stopTask(RunnableTaskWrapper.java:122)
  | 	at org.jboss.util.threadpool.BasicThreadPool$TimeoutInfo.stopTask(BasicThreadPool.java:517)
  | 	at org.jboss.util.threadpool.BasicThreadPool$TimeoutMonitor.run(BasicThreadPool.java:579)
  | 	at java.lang.Thread.run(Thread.java:595)
  | 


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

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



More information about the jboss-dev-forums mailing list