33 #if defined(ENABLE_JNI_HEADERS)
34 # include "native/include/com_sun_cldchi_jvm_JVM.h"
52 if (libName == NULL) {
61 bool result = nl.
load(env);
64 if (result ==
false) {
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.
Utf8String to_utf8() const
#define NATIVE_METHODS_COUNT
JNIEnv jclass jobject const char * name
void _Jv_com_sun_cldchi_jvm_JVM_init(void)
bool load(JNIEnv *env)
Load this native library and initialize it, if possible.
void exceptions_throw_nullpointerexception(void)
static Utf8String from_utf8(const char *, size_t)
JNIEXPORT void JNICALL Java_com_sun_cldchi_jvm_JVM_loadLibrary(JNIEnv *env, jclass clazz, jstring libName)
Represents a native library.
static JNINativeMethod methods[]
void exceptions_throw_unsatisfiedlinkerror(Utf8String name)
static VM * get_current()