< prev index next >

src/hotspot/share/classfile/systemDictionary.cpp

Print this page

        

*** 1430,1439 **** --- 1430,1444 ---- // Class is either in the unnamed package, in a named package // within a module not defined to the boot loader or in a // a named package within the unnamed module. In all cases, // limit visibility to search for the class only in the boot // loader's append path. + if (!ClassLoader::has_bootclasspath_append()) { + // If there is no bootclasspath append entry, no need to continue + // searching. + return NULL; + } search_only_bootloader_append = true; } } // Prior to bootstrapping's module initialization, never load a class outside
< prev index next >