src/hotspot/share/classfile/classLoaderExt.cpp
changeset 52631 3009ca99de32
parent 52514 f4e3900c8d08
child 53882 ca682d9d8db5
equal deleted inserted replaced
52630:68d450652337 52631:3009ca99de32
    23  */
    23  */
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #include "classfile/classFileParser.hpp"
    26 #include "classfile/classFileParser.hpp"
    27 #include "classfile/classFileStream.hpp"
    27 #include "classfile/classFileStream.hpp"
    28 #include "classfile/classListParser.hpp"
       
    29 #include "classfile/classLoader.inline.hpp"
    28 #include "classfile/classLoader.inline.hpp"
    30 #include "classfile/classLoaderExt.hpp"
    29 #include "classfile/classLoaderExt.hpp"
    31 #include "classfile/classLoaderData.inline.hpp"
    30 #include "classfile/classLoaderData.inline.hpp"
    32 #include "classfile/klassFactory.hpp"
    31 #include "classfile/klassFactory.hpp"
    33 #include "classfile/modules.hpp"
    32 #include "classfile/modules.hpp"
   255 
   254 
   256 // Load the class of the given name from the location given by path. The path is specified by
   255 // Load the class of the given name from the location given by path. The path is specified by
   257 // the "source:" in the class list file (see classListParser.cpp), and can be a directory or
   256 // the "source:" in the class list file (see classListParser.cpp), and can be a directory or
   258 // a JAR file.
   257 // a JAR file.
   259 InstanceKlass* ClassLoaderExt::load_class(Symbol* name, const char* path, TRAPS) {
   258 InstanceKlass* ClassLoaderExt::load_class(Symbol* name, const char* path, TRAPS) {
   260 
       
   261   assert(name != NULL, "invariant");
   259   assert(name != NULL, "invariant");
   262   assert(DumpSharedSpaces, "this function is only used with -Xshare:dump");
   260   assert(DumpSharedSpaces, "this function is only used with -Xshare:dump");
   263   ResourceMark rm(THREAD);
   261   ResourceMark rm(THREAD);
   264   const char* class_name = name->as_C_string();
   262   const char* class_name = name->as_C_string();
   265 
   263