--- old/src/share/vm/opto/type.hpp Mon Sep 13 15:47:00 2010 +++ new/src/share/vm/opto/type.hpp Mon Sep 13 15:47:00 2010 @@ -836,7 +836,7 @@ if (k != NULL) { // Verify that specified klass and TypeAryPtr::klass() follow the same rules. ciKlass* ck = compute_klass(true); - if (UseNewCode || k != ck) { + if (k != ck) { this->dump(); tty->cr(); tty->print(" k: "); k->print(); tty->cr();