src/hotspot/share/runtime/fieldDescriptor.cpp
changeset 51268 4ac20e5f96ce
parent 49359 59f6547e151f
child 51467 12997ebbc0d8
equal deleted inserted replaced
51267:2cd8bbccbd2d 51268:4ac20e5f96ce
   186       st->print(" %s", obj->bool_field(offset()) ? "true" : "false");
   186       st->print(" %s", obj->bool_field(offset()) ? "true" : "false");
   187       break;
   187       break;
   188     case T_ARRAY:
   188     case T_ARRAY:
   189       st->print(" ");
   189       st->print(" ");
   190       NOT_LP64(as_int = obj->int_field(offset()));
   190       NOT_LP64(as_int = obj->int_field(offset()));
   191       obj->obj_field(offset())->print_value_on(st);
   191       if (obj->obj_field(offset()) != NULL) {
       
   192         obj->obj_field(offset())->print_value_on(st);
       
   193       } else {
       
   194         st->print_cr("NULL");
       
   195       }
   192       break;
   196       break;
   193     case T_OBJECT:
   197     case T_OBJECT:
   194       st->print(" ");
   198       st->print(" ");
   195       NOT_LP64(as_int = obj->int_field(offset()));
   199       NOT_LP64(as_int = obj->int_field(offset()));
   196       obj->obj_field(offset())->print_value_on(st);
   200       if (obj->obj_field(offset()) != NULL) {
       
   201         obj->obj_field(offset())->print_value_on(st);
       
   202       } else {
       
   203         st->print_cr("NULL");
       
   204       }
   197       break;
   205       break;
   198     default:
   206     default:
   199       ShouldNotReachHere();
   207       ShouldNotReachHere();
   200       break;
   208       break;
   201   }
   209   }