8247236: fieldDescriptor::print_on_for prints extra newline after NULL
Reviewed-by: iklam, coleenp, tschatzl
This commit is contained in:
parent
81685b2ab3
commit
b4d09cc9e4
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user