natFirstThread.cc (run): Initialize class before calling main.
* gnu/gcj/runtime/natFirstThread.cc (run): Initialize class before calling main. From-SVN: r33377
This commit is contained in:
parent
5fb7c24702
commit
448415dcae
@ -1,3 +1,8 @@
|
||||
2000-04-24 Jeff Sturm <jsturm@sigma6.com>
|
||||
|
||||
* gnu/gcj/runtime/natFirstThread.cc (run): Initialize class before
|
||||
calling main.
|
||||
|
||||
2000-04-22 Anthony Green <green@cygnus.com>
|
||||
|
||||
* include/jvm.h (__builtin_expect): Define as unused for now.
|
||||
|
@ -74,10 +74,9 @@ gnu::gcj::runtime::FirstThread::run (void)
|
||||
}
|
||||
|
||||
if (klass == NULL)
|
||||
{
|
||||
klass = java::lang::Class::forName (klass_name);
|
||||
if (klass != NULL) _Jv_InitClass (klass);
|
||||
}
|
||||
klass = java::lang::Class::forName (klass_name);
|
||||
if (klass != NULL)
|
||||
_Jv_InitClass (klass);
|
||||
|
||||
_Jv_Method *meth = _Jv_GetMethodLocal (klass, main_name, main_signature);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user