That's interesting - it might be more correct than what's there currently. I don't have any such problem, so I'm wondering what your setup is? JDK version? OS?
-Mike On 17 Jul 2002 at 15:56, Kiewel, Brad wrote: > I had a problem in ClassFinder not being able to find classes for subclass checks. >ClassFinder could find the classes to put them in the list of all classes, but then >couldn't load the classes to do the subclass check. > > I changed any use of Class.forName from: > > c = Class.forName(strClassName); > > to: > > c = >Class.forName(strClassName,false,Thread.currentThread().getContextClassLoader()); > > This should use the classloader set at start up, and it does not initialize any new >classes. > > Is this fix correct? The updated ClassFinder.java is attached. > > (I added debug statements to the ignored exceptions, also) > > Brad Kiewel > Fiserv Advanced Insurance Solutions > 4200 University, Suite 400 > West Des Moines, IA 50266 > > [EMAIL PROTECTED] > 515.267.6527 > -- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
