MainThread.java (run): Load main class using system class loader.

* gnu/java/lang/MainThread.java (run): Load main class using
	system class loader.

From-SVN: r96582
This commit is contained in:
Tom Tromey 2005-03-16 23:53:19 +00:00 committed by Tom Tromey
parent e8b19a779d
commit 91e22e88dd
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-03-16 Tom Tromey <tromey@redhat.com>
* gnu/java/lang/MainThread.java (run): Load main class using
system class loader.
2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
@ -58,6 +63,11 @@
(gcj_jni_invocation_test_one): Use the same target check for Darwin.
Add -liconv for Darwin.
2005-03-11 Tom Tromey <tromey@redhat.com>
* include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
(_Jv_CheckABIVersion): Use it.
2005-03-11 Tom Tromey <tromey@redhat.com>
* gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.

View File

@ -1,5 +1,5 @@
/* gnu.java.lang.MainThread
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
Free Software Foundation, Inc.
This file is part of GNU Classpath.
@ -91,7 +91,8 @@ final class MainThread extends Thread
{
try
{
klass = Class.forName(klass_name);
klass = Class.forName(klass_name, true,
ClassLoader.getSystemClassLoader());
}
catch (ClassNotFoundException x)
{