diff -r 3a294e483abc -r d20603ee9e10 src/share/vm/opto/type.hpp --- a/src/share/vm/opto/type.hpp Mon Sep 13 12:10:49 2010 -0700 +++ b/src/share/vm/opto/type.hpp Mon Sep 13 16:45:00 2010 -0700 @@ -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();