1.1 --- a/src/share/vm/opto/compile.cpp Tue Jun 28 15:24:29 2011 -0700 1.2 +++ b/src/share/vm/opto/compile.cpp Tue Jun 28 15:50:07 2011 -0700 1.3 @@ -1206,11 +1206,7 @@ 1.4 // Make sure the Bottom and NotNull variants alias the same. 1.5 // Also, make sure exact and non-exact variants alias the same. 1.6 if( ptr == TypePtr::NotNull || ta->klass_is_exact() ) { 1.7 - if (ta->const_oop()) { 1.8 - tj = ta = TypeAryPtr::make(TypePtr::Constant,ta->const_oop(),ta->ary(),ta->klass(),false,offset); 1.9 - } else { 1.10 - tj = ta = TypeAryPtr::make(TypePtr::BotPTR,ta->ary(),ta->klass(),false,offset); 1.11 - } 1.12 + tj = ta = TypeAryPtr::make(TypePtr::BotPTR,ta->ary(),ta->klass(),false,offset); 1.13 } 1.14 } 1.15