Lines Matching refs:env
38 check(JNIEnv *env, jobject this)
44 jclass clazz = (*env)->FindClass(env, "java/lang/SecurityManager");
46 (*env)->ExceptionClear(env);
49 initField = (*env)->GetFieldID(env, clazz, "initialized", "Z");
51 (*env)->ExceptionClear(env);
55 initialized = (*env)->GetBooleanField(env, this, initField);
61 (*env)->FindClass(env, "java/lang/SecurityException");
63 (*env)->ThrowNew(env, securityException,
71 Java_java_lang_SecurityManager_getClassContext(JNIEnv *env, jobject this)
73 if (!check(env, this)) {
77 return JVM_GetClassContext(env);
81 Java_java_lang_SecurityManager_currentLoadedClass0(JNIEnv *env, jobject this)
84 if (!check(env, this)) {
88 return JVM_CurrentLoadedClass(env);
92 Java_java_lang_SecurityManager_currentClassLoader0(JNIEnv *env, jobject this)
95 if (!check(env, this)) {
99 return JVM_CurrentClassLoader(env);
103 Java_java_lang_SecurityManager_classDepth(JNIEnv *env, jobject this,
107 if (!check(env, this)) {
112 JNU_ThrowNullPointerException(env, 0);
116 return JVM_ClassDepth(env, name);
120 Java_java_lang_SecurityManager_classLoaderDepth0(JNIEnv *env, jobject this)
123 if (!check(env, this)) {
127 return JVM_ClassLoaderDepth(env);