logo       

Re: Patch: FYI: MainThread -vs- class loader: msg#00133

java.classpath.patches

Subject: Re: Patch: FYI: MainThread -vs- class loader

On Wed, Mar 16, 2005 at 04:41:30PM -0700, Tom Tromey wrote:
> I'm checking this in.
> I'm going to put something similar in libgcj shortly.
>
> While implementing java.endorsed.dirs, I discovered that MainThread
> tries to load the main class using its own class loader. However, it
> is probable that MainThread is loaded by the bootstrap loader, while
> it needs to load the main class using the system class loader.
>
> This patch fixes the problem.

Can you put a mauve testcase of this into CVS? I know some VMs dont use
gnu.java.lang.MainThread yet.


Michael
--
Java Trap: http://www.gnu.org/philosophy/java-trap.html


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise