mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8047736: Remove JVM_GetClassLoader as no longer used
Remove this function from hotspot. It's already removed from the JDK. Reviewed-by: mchung, fparain, ctornqvi
This commit is contained in:
parent
c410cd3bfb
commit
90200446c1
11 changed files with 0 additions and 23 deletions
|
@ -1073,17 +1073,6 @@ JVM_ENTRY(jobjectArray, JVM_GetClassInterfaces(JNIEnv *env, jclass cls))
|
|||
JVM_END
|
||||
|
||||
|
||||
JVM_ENTRY(jobject, JVM_GetClassLoader(JNIEnv *env, jclass cls))
|
||||
JVMWrapper("JVM_GetClassLoader");
|
||||
if (java_lang_Class::is_primitive(JNIHandles::resolve_non_null(cls))) {
|
||||
return NULL;
|
||||
}
|
||||
Klass* k = java_lang_Class::as_Klass(JNIHandles::resolve_non_null(cls));
|
||||
oop loader = k->class_loader();
|
||||
return JNIHandles::make_local(env, loader);
|
||||
JVM_END
|
||||
|
||||
|
||||
JVM_QUICK_ENTRY(jboolean, JVM_IsInterface(JNIEnv *env, jclass cls))
|
||||
JVMWrapper("JVM_IsInterface");
|
||||
oop mirror = JNIHandles::resolve_non_null(cls);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue