diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-04 15:27:05 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-04 15:27:05 +0000 |
commit | a258c4fb2833dbb092e508453d620b6815153fe1 (patch) | |
tree | fc4860ea95619b77ee5e79ab16d7b41b330c9e59 /libjava/prims.cc | |
parent | 90bdfbb6e7a3eaca717f454ebffcf7eebe736af5 (diff) | |
download | gcc-a258c4fb2833dbb092e508453d620b6815153fe1.tar.gz |
2004-07-04 Michael Koch <konqueror@gmx.de>
* gnu/gcj/runtime/FirstThread.java,
gnu/gcj/runtime/natFirstThread.cc: Removed.
* gnu/java/lang/MainThread.java,
gnu/java/lang/natMainThread.cc: New files.
* prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
* Makefile.am: Added new files and removed deleted ones.
* Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84085 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/prims.cc')
-rw-r--r-- | libjava/prims.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libjava/prims.cc b/libjava/prims.cc index cbcbc9fbf16..93db746fc1e 100644 --- a/libjava/prims.cc +++ b/libjava/prims.cc @@ -60,7 +60,7 @@ details. */ #include <java/lang/VirtualMachineError.h> #include <gnu/gcj/runtime/VMClassLoader.h> #include <gnu/gcj/runtime/FinalizerThread.h> -#include <gnu/gcj/runtime/FirstThread.h> +#include <gnu/java/lang/MainThread.h> #ifdef USE_LTDL #include <ltdl.h> @@ -1049,12 +1049,12 @@ _Jv_RunMain (jclass klass, const char *name, int argc, const char **argv, arg_vec = JvConvertArgv (argc - 1, argv + 1); #endif - using namespace gnu::gcj::runtime; + using namespace gnu::java::lang; if (klass) - main_thread = new FirstThread (klass, arg_vec); + main_thread = new MainThread (klass, arg_vec); else - main_thread = new FirstThread (JvNewStringLatin1 (name), - arg_vec, is_jar); + main_thread = new MainThread (JvNewStringLatin1 (name), + arg_vec, is_jar); } catch (java::lang::Throwable *t) { |