< prev index next >
src/share/vm/classfile/verifier.cpp
Print this page
*** 2002,2012 ****
bool ClassVerifier::is_protected_access(instanceKlassHandle this_class,
Klass* target_class,
Symbol* field_name,
Symbol* field_sig,
bool is_method) {
! No_Safepoint_Verifier nosafepoint;
// If target class isn't a super class of this class, we don't worry about this case
if (!this_class->is_subclass_of(target_class)) {
return false;
}
--- 2002,2012 ----
bool ClassVerifier::is_protected_access(instanceKlassHandle this_class,
Klass* target_class,
Symbol* field_name,
Symbol* field_sig,
bool is_method) {
! NoSafepointVerifier nosafepoint;
// If target class isn't a super class of this class, we don't worry about this case
if (!this_class->is_subclass_of(target_class)) {
return false;
}
< prev index next >