classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Patch: FYI: MainThread -vs- class loader


From: Michael Koch
Subject: Re: [cp-patches] Patch: FYI: MainThread -vs- class loader
Date: Thu, 17 Mar 2005 07:37:12 +0100
User-agent: mutt-ng 1.5.9-r176i (Debian)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]