Skip to content
Permalink
Browse files
8247236: fieldDescriptor::print_on_for prints extra newline after NULL
Reviewed-by: iklam, coleenp, tschatzl
  • Loading branch information
stefank committed Jun 10, 2020
1 parent 81685b2 commit b4d09cc9e44e86cf33590114a2604715a0823007
Showing 1 changed file with 2 additions and 2 deletions.
@@ -193,7 +193,7 @@ void fieldDescriptor::print_on_for(outputStream* st, oop obj) {
if (obj->obj_field(offset()) != NULL) {
obj->obj_field(offset())->print_value_on(st);
} else {
st->print_cr("NULL");
st->print("NULL");
}
break;
case T_OBJECT:
@@ -202,7 +202,7 @@ void fieldDescriptor::print_on_for(outputStream* st, oop obj) {
if (obj->obj_field(offset()) != NULL) {
obj->obj_field(offset())->print_value_on(st);
} else {
st->print_cr("NULL");
st->print("NULL");
}
break;
default:

0 comments on commit b4d09cc

Please sign in to comment.