[jboss-dev-forums] [Design of JBoss ESB] - Re: Class.forName() vs. Thread.currentThread().getContextCla

tfennelly do-not-reply at jboss.com
Fri Mar 16 06:16:41 EDT 2007


This is something I've been guilty of in the past (out of ignorance of the scoping stuff).

Doesn't this also apply to getClass().getResourceAsStream(...)?

The likes of this is something we could use Macker to check for - so we get a build error/report if someone adds code matching this pattern.

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

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



More information about the jboss-dev-forums mailing list