comparison src/share/vm/classfile/verifier.cpp @ 16395:ad431bf0de07

added support to load classes from graal.jar with a separate class loader
author Doug Simon <doug.simon@oracle.com>
date Thu, 03 Jul 2014 16:30:28 +0200
parents 22eaa15b7960
children 3eed8712d410
comparison
equal deleted inserted replaced
16394:0dd27c6472d7 16395:ad431bf0de07
92 92
93 93
94 // Methods in Verifier 94 // Methods in Verifier
95 95
96 bool Verifier::should_verify_for(oop class_loader, bool should_verify_class) { 96 bool Verifier::should_verify_for(oop class_loader, bool should_verify_class) {
97 return (class_loader == NULL || !should_verify_class) ? 97 return (class_loader == NULL GRAAL_ONLY(|| class_loader == SystemDictionary::graal_loader()) || !should_verify_class) ?
98 BytecodeVerificationLocal : BytecodeVerificationRemote; 98 BytecodeVerificationLocal : BytecodeVerificationRemote;
99 } 99 }
100 100
101 bool Verifier::relax_verify_for(oop loader) { 101 bool Verifier::relax_verify_for(oop loader) {
102 bool trusted = java_lang_ClassLoader::is_trusted_loader(loader); 102 bool trusted = java_lang_ClassLoader::is_trusted_loader(loader);