From: twisti Date: Tue, 12 Apr 2005 19:50:04 +0000 (+0000) Subject: Link important system classes. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=637258f51a46d103cf3886c8d4a0f9d6a119ca1e;p=cacao.git Link important system classes. --- diff --git a/src/vm/linker.c b/src/vm/linker.c index fa79e8ca4..be0cde16b 100644 --- a/src/vm/linker.c +++ b/src/vm/linker.c @@ -32,7 +32,7 @@ Edwin Steiner Christian Thalinger - $Id: linker.c 2239 2005-04-06 12:16:53Z twisti $ + $Id: linker.c 2279 2005-04-12 19:50:04Z twisti $ */ @@ -152,6 +152,25 @@ bool linker_init(void) return false; + /* load some other important classes */ + + if (!link_class(class_java_lang_Class)) + return false; + + if (!link_class(class_java_lang_ClassLoader)) + return false; + + if (!link_class(class_java_lang_SecurityManager)) + return false; + + if (!link_class(class_java_lang_System)) + return false; + + + if (!link_class(class_java_util_Vector)) + return false; + + /* create pseudo classes used by the typechecker */ /* pseudo class for Arraystubs (extends java.lang.Object) */