diff options
author | Tom Tromey <tromey@redhat.com> | 2005-03-16 23:53:19 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2005-03-16 23:53:19 +0000 |
commit | 91e22e88ddc3c3d69c58db42a80dd44de9a7d00d (patch) | |
tree | bf1035acc3d529391796cc4a52dd6aa1b3066d44 | |
parent | e8b19a779dd9d676f5fa9cec25249b75def48c16 (diff) | |
download | gcc-91e22e88ddc3c3d69c58db42a80dd44de9a7d00d.zip gcc-91e22e88ddc3c3d69c58db42a80dd44de9a7d00d.tar.gz gcc-91e22e88ddc3c3d69c58db42a80dd44de9a7d00d.tar.bz2 |
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
-rw-r--r-- | libjava/ChangeLog | 10 | ||||
-rw-r--r-- | libjava/gnu/java/lang/MainThread.java | 5 |
2 files changed, 13 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 4e0ed3e..76bfd40 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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 @@ -60,6 +65,11 @@ 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'. (usage): Document '-p'. * Makefile.in: Rebuilt. diff --git a/libjava/gnu/java/lang/MainThread.java b/libjava/gnu/java/lang/MainThread.java index 44c20ff..30e23bd 100644 --- a/libjava/gnu/java/lang/MainThread.java +++ b/libjava/gnu/java/lang/MainThread.java @@ -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) { |