hotspot/src/share/vm/classfile/classLoaderExt.hpp
changeset 38192 05ab1ee04bf2
parent 36508 5f9eee6b383b
child 39224 7c26725c0813
--- a/hotspot/src/share/vm/classfile/classLoaderExt.hpp	Wed May 04 17:47:05 2016 +0300
+++ b/hotspot/src/share/vm/classfile/classLoaderExt.hpp	Wed May 04 17:32:08 2016 -0400
@@ -49,12 +49,14 @@
       return false;
     }
 
-    instanceKlassHandle record_result(const s2 classpath_index,
-                                      const jshort classloader_type,
-                                      const ClassPathEntry* e,
+    instanceKlassHandle record_result(Symbol* class_name,
+                                      ClassPathEntry* e,
+                                      const s2 classpath_index,
                                       instanceKlassHandle result, TRAPS) {
       if (ClassLoader::add_package(_file_name, classpath_index, THREAD)) {
         if (DumpSharedSpaces) {
+          s2 classloader_type = ClassLoader::classloader_type(
+                          class_name, e, classpath_index, CHECK_(result));
           result->set_shared_classpath_index(classpath_index);
           result->set_class_loader_type(classloader_type);
         }