It should be fine to use the TCL for JMSProviderLoader, failing to
Class.forName() if a CNFE is thrown.  IMO Class.forName() is broken in
that it does not look in the TCL for classes, only the parent CL and the
system CL.

--jason


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:jboss-
> [EMAIL PROTECTED]] On Behalf Of Michael Bartmann
> Sent: Thursday, August 15, 2002 3:56 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-dev] When to use Class.forName() ?? (possible bug in
> JMSProviderLoader)
> 
> Hi,
> for obscure reasons I find the meaning of life by integrating a MDB
> together with a JMS-Provider-MBean into one ear.
> It works fine UNLESS I enable ear-scoping, which is essential for me.
> There is a CNFE in the JMSProviderLoader from JBoss, which uses
> Class.forName(). I changed this to
Thread.current...blabla...loadClass()
> and it runs fine now.
> But I am a bit reluctant to check this into CVS, cause I dont know the
> implications for the
> JBossMQ provider (I am not using that thing).
> 
> To take it even further:
> 
> Is there any good reason to use Class.forName() anywhere in a "normal"
> MBean???
> 
> Enjoy,
> Michael
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to