1 /* class: java/lang/SecurityManager */
8 #include "toolbox/loging.h"
12 * Class: java/lang/SecurityManager
13 * Method: currentClassLoader
14 * Signature: ()Ljava/lang/ClassLoader;
16 JNIEXPORT struct java_lang_ClassLoader* JNICALL Java_java_lang_VMSecurityManager_currentClassLoader ( JNIEnv *env, jclass clazz)
18 init_systemclassloader();
19 return SystemClassLoader;
24 * Class: java/lang/SecurityManager
25 * Method: getClassContext
26 * Signature: ()[Ljava/lang/Class;
28 JNIEXPORT java_objectarray* JNICALL Java_java_lang_VMSecurityManager_getClassContext ( JNIEnv *env ,jclass clazz)
30 /*log_text("Java_java_lang_VMSecurityManager_getClassContext called");*/
31 #warning return something more usefull here
32 /* XXX should use vftbl directly */
33 return builtin_newarray(0,class_array_of(class_java_lang_Class)->vftbl);
38 * These are local overrides for various environment variables in Emacs.
39 * Please do not remove this and leave it at the end of the file, where
40 * Emacs will automagically detect them.
41 * ---------------------------------------------------------------------