src/share/vm/classfile/verifier.cpp

changeset 10012
73d58f4c918a
parent 9969
40f45911050f
child 10015
eb7ce841ccec
equal deleted inserted replaced
10011:c49a13526ba9 10012:73d58f4c918a
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 || !should_verify_class) ?
98 BytecodeVerificationLocal : BytecodeVerificationRemote; 98 BytecodeVerificationLocal : BytecodeVerificationRemote;
99 } 99 }
100 100
101 bool Verifier::relax_access_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);
103 bool need_verify = 103 bool need_verify =
104 // verifyAll 104 // verifyAll
105 (BytecodeVerificationLocal && BytecodeVerificationRemote) || 105 (BytecodeVerificationLocal && BytecodeVerificationRemote) ||
106 // verifyRemote 106 // verifyRemote

mercurial