equal
deleted
inserted
replaced
827 // Static methods don't override non-static so punt |
827 // Static methods don't override non-static so punt |
828 return true; |
828 return true; |
829 } |
829 } |
830 if ( !Dependencies::is_concrete_method(lm) |
830 if ( !Dependencies::is_concrete_method(lm) |
831 && !Dependencies::is_concrete_method(m) |
831 && !Dependencies::is_concrete_method(m) |
832 && Klass::cast(lm->method_holder())->is_subtype_of(m->method_holder())) |
832 && lm->method_holder()->is_subtype_of(m->method_holder())) |
833 // Method m is overridden by lm, but both are non-concrete. |
833 // Method m is overridden by lm, but both are non-concrete. |
834 return true; |
834 return true; |
835 } |
835 } |
836 ResourceMark rm; |
836 ResourceMark rm; |
837 tty->print_cr("Dependency method not found in the associated context:"); |
837 tty->print_cr("Dependency method not found in the associated context:"); |