[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: assertions in JBM

trustin do-not-reply at jboss.com
Thu Jun 12 04:47:26 EDT 2008


I am up for throwing NPE rather than 'assert abc != null' because it is often pretty difficult what variable caused NPE from the stack trace when assertion is disabled.  It's disabled by default AFAIK.

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

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



More information about the jboss-dev-forums mailing list