hotspot/src/share/vm/classfile/verifier.cpp
changeset 4571 80b553bddc26
parent 4429 d7eb4e2099aa
child 5688 9052dc91ea67
child 5683 116fea597b5d
child 5547 f4b087cbb361
equal deleted inserted replaced
4569:f372ea9e5ed4 4571:80b553bddc26
   141   }
   141   }
   142 }
   142 }
   143 
   143 
   144 bool Verifier::is_eligible_for_verification(instanceKlassHandle klass, bool should_verify_class) {
   144 bool Verifier::is_eligible_for_verification(instanceKlassHandle klass, bool should_verify_class) {
   145   symbolOop name = klass->name();
   145   symbolOop name = klass->name();
   146   klassOop refl_magic_klass = SystemDictionary::reflect_magic_klass();
   146   klassOop refl_magic_klass = SystemDictionary::reflect_MagicAccessorImpl_klass();
   147 
   147 
   148   return (should_verify_for(klass->class_loader(), should_verify_class) &&
   148   return (should_verify_for(klass->class_loader(), should_verify_class) &&
   149     // return if the class is a bootstrapping class
   149     // return if the class is a bootstrapping class
   150     // or defineClass specified not to verify by default (flags override passed arg)
   150     // or defineClass specified not to verify by default (flags override passed arg)
   151     // We need to skip the following four for bootstraping
   151     // We need to skip the following four for bootstraping