- Calling the class loader
- Running the main method
- $Id: cacao.c 997 2004-03-30 21:49:28Z twisti $
+ $Id: cacao.c 1009 2004-03-31 22:44:07Z edwin $
*/
/* heap_addreference((void**) &a); */
- mainmethod = class_findmethod(topclass,
+ mainmethod = class_resolveclassmethod(topclass,
utf_new_char("main"),
- utf_new_char("([Ljava/lang/String;)V")
+ utf_new_char("([Ljava/lang/String;)V"),
+ topclass,
+ true
);
/* there is no main method or it isn't static */