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 /libjava/gnu/java | |
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
Diffstat (limited to 'libjava/gnu/java')
-rw-r--r-- | libjava/gnu/java/lang/MainThread.java | 5 |
1 files changed, 3 insertions, 2 deletions
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) { |