hotspot/src/share/vm/code/dependencies.cpp
changeset 14391 df0a1573d5bd
parent 14385 959bbcc16725
child 14488 ab48109f7d1b
child 14477 95e66ea71f71
equal deleted inserted replaced
14390:bd0d881cf1c5 14391:df0a1573d5bd
   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:");