methodinfo * class_resolveclassmethod(classinfo *c, Utf8String name, Utf8String desc, classinfo *referer, bool throwexception)
void exceptions_print_stacktrace(void)
Table containing all native methods registered with the VM.
NativeMethods & get_nativemethods()
void register_methods(Utf8String classname, const JNINativeMethod *methods, size_t count)
Register native methods with the VM.
void exceptions_throw_nosuchmethoderror(classinfo *c, Utf8String name, Utf8String desc)
#define NATIVE_METHODS_COUNT
u1 * jit_compile(methodinfo *m)
MachineCode * compile(methodinfo *m)
JNIEnv jclass jobject const char * name
Second stage compiler class.
JNIEXPORT jobject JNICALL Java_org_cacaojvm_compiler2_test_Compiler2Test_executeMethod(JNIEnv *env, jclass clazz, jclass compile_class, jstring name, jstring desc, jobjectArray args)
static JNINativeMethod methods[]
void exceptions_throw_nullpointerexception(void)
void _Jv_org_cacaojvm_compiler2_test_Compiler2Test_init(void)
JNIEXPORT void JNICALL Java_org_cacaojvm_compiler2_test_Compiler2Test_compileMethod(JNIEnv *env, jclass clazz, jboolean baseline, jclass compile_class, jstring name, jstring desc)
static Utf8String from_utf8(const char *, size_t)
java_handle_t * vm_call_method_objectarray(methodinfo *m, java_handle_t *o, java_handle_objectarray_t *params)
void exceptions_clear_exception(void)
java_handle_t * exceptions_get_exception(void)
#define LLNI_classinfo_unwrap(clazz)
static VM * get_current()
Utf8String to_utf8_dot_to_slash() const