1.1 --- a/src/share/vm/opto/type.cpp Wed Mar 09 09:15:16 2011 -0800 1.2 +++ b/src/share/vm/opto/type.cpp Fri Mar 11 07:50:51 2011 -0800 1.3 @@ -3781,7 +3781,7 @@ 1.4 // Oops, need to compute _klass and cache it 1.5 ciKlass* k_ary = compute_klass(); 1.6 1.7 - if( this != TypeAryPtr::OOPS ) { 1.8 + if( this != TypeAryPtr::OOPS && this->dual() != TypeAryPtr::OOPS ) { 1.9 // The _klass field acts as a cache of the underlying 1.10 // ciKlass for this array type. In order to set the field, 1.11 // we need to cast away const-ness.