dev@glassfish.java.net

Re: CODE REVIEW: WebServiceEngine thread-unsafe initialization bugs #1694, #1695

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 07 Dec 2006 12:07:15 -0800

OK, I'll try that.

On Dec 7, 2006, at 10:51 AM, Jeanfrancois Arcand wrote:

>
>
>> + try {
>> + final Class engineClass = Class.forName
>> ( "com.sun.enterprise.webservice.monitoring.WebServiceEngineImpl" );
>
> I would use the Context Classloader to load the class instead. It
> will not fix the problem, but it is safer and more robust.
>
> -- Jeanfrancois
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>