6610906: inexplicable IncompatibleClassChangeError

Dependency check must treat polymorphic interfaces consistently

Reviewed-by: kvn, never, sgoldman
This commit is contained in:
John R Rose 2008-02-27 00:23:37 -08:00
parent 9f1a8ede80
commit 73fa03eafc
2 changed files with 9 additions and 1 deletions

View file

@ -1971,7 +1971,7 @@ void nmethod::print_dependencies() {
if (ctxk != NULL) {
Klass* k = Klass::cast(ctxk);
if (k->oop_is_instance() && ((instanceKlass*)k)->is_dependent_nmethod(this)) {
tty->print(" [nmethod<=klass]%s", k->external_name());
tty->print_cr(" [nmethod<=klass]%s", k->external_name());
}
}
deps.log_dependency(); // put it into the xml log also