hotspot/src/share/vm/opto/cfgnode.cpp
changeset 5538 535ef83faf5d
parent 5537 c075180330cf
parent 5120 c733ad68de42
child 5547 f4b087cbb361
equal deleted inserted replaced
5537:c075180330cf 5538:535ef83faf5d
   954         jt = ft;
   954         jt = ft;
   955       }
   955       }
   956     }
   956     }
   957     if( jtkp && ttkp ) {
   957     if( jtkp && ttkp ) {
   958       if( jtkp->is_loaded() &&  jtkp->klass()->is_interface() &&
   958       if( jtkp->is_loaded() &&  jtkp->klass()->is_interface() &&
       
   959           !jtkp->klass_is_exact() && // Keep exact interface klass (6894807)
   959           ttkp->is_loaded() && !ttkp->klass()->is_interface() ) {
   960           ttkp->is_loaded() && !ttkp->klass()->is_interface() ) {
   960         assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) ||
   961         assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) ||
   961                ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr()), "");
   962                ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr()), "");
   962         jt = ft;
   963         jt = ft;
   963       }
   964       }