comparison src/share/vm/classfile/systemDictionary.cpp @ 8866:16885e702c88

7198429: need checked categorization of caller-sensitive methods in the JDK Reviewed-by: kvn, jrose
author twisti
date Mon, 25 Mar 2013 17:13:26 -0700
parents 1fc4d4768b90
children 0ca3dd0ffaba
comparison
equal deleted inserted replaced
8865:818a1ac7da7a 8866:16885e702c88
144 if (AllowParallelDefineClass && java_lang_ClassLoader::parallelCapable(class_loader())) { 144 if (AllowParallelDefineClass && java_lang_ClassLoader::parallelCapable(class_loader())) {
145 return true; 145 return true;
146 } 146 }
147 return false; 147 return false;
148 } 148 }
149
150 /**
151 * Returns true if the passed class loader is the extension class loader.
152 */
153 bool SystemDictionary::is_ext_class_loader(Handle class_loader) {
154 if (class_loader.is_null()) {
155 return false;
156 }
157 return (class_loader->klass()->name() == vmSymbols::sun_misc_Launcher_ExtClassLoader());
158 }
159
149 // ---------------------------------------------------------------------------- 160 // ----------------------------------------------------------------------------
150 // Resolving of classes 161 // Resolving of classes
151 162
152 // Forwards to resolve_or_null 163 // Forwards to resolve_or_null
153 164