changeset 7189:82b6859d7333

8047736: Remove JVM_GetClassLoader as no longer used Summary: Remove this function from hotspot. It's already removed from the JDK. Reviewed-by: mchung, fparain, ctornqvi
author coleenp
date Thu, 02 Oct 2014 16:31:44 -0400
parents 085702ee449a
children 4fe74ad00526
files make/aix/makefiles/mapfile-vers-debug make/aix/makefiles/mapfile-vers-product make/bsd/makefiles/mapfile-vers-darwin-debug make/bsd/makefiles/mapfile-vers-darwin-product make/bsd/makefiles/mapfile-vers-debug make/bsd/makefiles/mapfile-vers-product make/linux/makefiles/mapfile-vers-debug make/linux/makefiles/mapfile-vers-product make/solaris/makefiles/mapfile-vers src/share/vm/prims/jvm.cpp src/share/vm/prims/jvm.h
diffstat 11 files changed, 0 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/make/aix/makefiles/mapfile-vers-debug	Thu Oct 02 12:58:37 2014 +0200
+++ b/make/aix/makefiles/mapfile-vers-debug	Thu Oct 02 16:31:44 2014 -0400
@@ -117,7 +117,6 @@
                 JVM_GetClassDeclaredMethods;
                 JVM_GetClassFieldsCount;
                 JVM_GetClassInterfaces;
-                JVM_GetClassLoader;
                 JVM_GetClassMethodsCount;
                 JVM_GetClassModifiers;
                 JVM_GetClassName;
--- a/make/aix/makefiles/mapfile-vers-product	Thu Oct 02 12:58:37 2014 +0200
+++ b/make/aix/makefiles/mapfile-vers-product	Thu Oct 02 16:31:44 2014 -0400
@@ -117,7 +117,6 @@
                 JVM_GetClassDeclaredMethods;
                 JVM_GetClassFieldsCount;
                 JVM_GetClassInterfaces;
-                JVM_GetClassLoader;
                 JVM_GetClassMethodsCount;
                 JVM_GetClassModifiers;
                 JVM_GetClassName;
--- a/make/bsd/makefiles/mapfile-vers-darwin-debug	Thu Oct 02 12:58:37 2014 +0200
+++ b/make/bsd/makefiles/mapfile-vers-darwin-debug	Thu Oct 02 16:31:44 2014 -0400
@@ -115,7 +115,6 @@
                 _JVM_GetClassDeclaredMethods
                 _JVM_GetClassFieldsCount
                 _JVM_GetClassInterfaces
-                _JVM_GetClassLoader
                 _JVM_GetClassMethodsCount
                 _JVM_GetClassModifiers
                 _JVM_GetClassName
--- a/make/bsd/makefiles/mapfile-vers-darwin-product	Thu Oct 02 12:58:37 2014 +0200
+++ b/make/bsd/makefiles/mapfile-vers-darwin-product	Thu Oct 02 16:31:44 2014 -0400
@@ -115,7 +115,6 @@
                 _JVM_GetClassDeclaredMethods
                 _JVM_GetClassFieldsCount
                 _JVM_GetClassInterfaces
-                _JVM_GetClassLoader
                 _JVM_GetClassMethodsCount
                 _JVM_GetClassModifiers
                 _JVM_GetClassName
--- a/make/bsd/makefiles/mapfile-vers-debug	Thu Oct 02 12:58:37 2014 +0200
+++ b/make/bsd/makefiles/mapfile-vers-debug	Thu Oct 02 16:31:44 2014 -0400
@@ -117,7 +117,6 @@
                 JVM_GetClassDeclaredMethods;
                 JVM_GetClassFieldsCount;
                 JVM_GetClassInterfaces;
-                JVM_GetClassLoader;
                 JVM_GetClassMethodsCount;
                 JVM_GetClassModifiers;
                 JVM_GetClassName;
--- a/make/bsd/makefiles/mapfile-vers-product	Thu Oct 02 12:58:37 2014 +0200
+++ b/make/bsd/makefiles/mapfile-vers-product	Thu Oct 02 16:31:44 2014 -0400
@@ -117,7 +117,6 @@
                 JVM_GetClassDeclaredMethods;
                 JVM_GetClassFieldsCount;
                 JVM_GetClassInterfaces;
-                JVM_GetClassLoader;
                 JVM_GetClassMethodsCount;
                 JVM_GetClassModifiers;
                 JVM_GetClassName;
--- a/make/linux/makefiles/mapfile-vers-debug	Thu Oct 02 12:58:37 2014 +0200
+++ b/make/linux/makefiles/mapfile-vers-debug	Thu Oct 02 16:31:44 2014 -0400
@@ -117,7 +117,6 @@
                 JVM_GetClassDeclaredMethods;
                 JVM_GetClassFieldsCount;
                 JVM_GetClassInterfaces;
-                JVM_GetClassLoader;
                 JVM_GetClassMethodsCount;
                 JVM_GetClassModifiers;
                 JVM_GetClassName;
--- a/make/linux/makefiles/mapfile-vers-product	Thu Oct 02 12:58:37 2014 +0200
+++ b/make/linux/makefiles/mapfile-vers-product	Thu Oct 02 16:31:44 2014 -0400
@@ -117,7 +117,6 @@
                 JVM_GetClassDeclaredMethods;
                 JVM_GetClassFieldsCount;
                 JVM_GetClassInterfaces;
-                JVM_GetClassLoader;
                 JVM_GetClassMethodsCount;
                 JVM_GetClassModifiers;
                 JVM_GetClassName;
--- a/make/solaris/makefiles/mapfile-vers	Thu Oct 02 12:58:37 2014 +0200
+++ b/make/solaris/makefiles/mapfile-vers	Thu Oct 02 16:31:44 2014 -0400
@@ -117,7 +117,6 @@
                 JVM_GetClassDeclaredMethods;
                 JVM_GetClassFieldsCount;
                 JVM_GetClassInterfaces;
-                JVM_GetClassLoader;
                 JVM_GetClassMethodsCount;
                 JVM_GetClassModifiers;
                 JVM_GetClassName;
--- a/src/share/vm/prims/jvm.cpp	Thu Oct 02 12:58:37 2014 +0200
+++ b/src/share/vm/prims/jvm.cpp	Thu Oct 02 16:31:44 2014 -0400
@@ -1073,17 +1073,6 @@
 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);
--- a/src/share/vm/prims/jvm.h	Thu Oct 02 12:58:37 2014 +0200
+++ b/src/share/vm/prims/jvm.h	Thu Oct 02 16:31:44 2014 -0400
@@ -462,9 +462,6 @@
 JNIEXPORT jobjectArray JNICALL
 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
 
-JNIEXPORT jobject JNICALL
-JVM_GetClassLoader(JNIEnv *env, jclass cls);
-
 JNIEXPORT jboolean JNICALL
 JVM_IsInterface(JNIEnv *env, jclass cls);