Re: library searching

Turadg Aleahmad <[email protected]>
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
Matthias Radestock wrote:

> Class res = resolvePrimitveType(name);
> if (res != null) return res;
> try {
>   return Class.forName(name, true, cl);
> } catch (ClassNotFoundException e) {
>   return null;
> }
>
> Can you give this a try and see wheter it fixes the problem?


Bingo!  Thanks.  I just put it in CVS.

> PS: I think this code has not changed in a long time, so it is strange 
> that the behaviour has.


Scott hypothesized that it's due to the "optimizations" in JDK 1.4.2.

-Turadg




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.