8000227: [obj|type]ArrayKlass::oop_print_on prints one line to tty instead of the provided output stream

Reviewed-by: brutisso, sla, jmasa, coleenp
This commit is contained in:
Stefan Karlsson 2012-10-01 13:29:11 +02:00
parent ddd6138b95
commit 3e967d8f8d
2 changed files with 2 additions and 2 deletions

View File

@ -646,7 +646,7 @@ void objArrayKlass::oop_print_on(oop obj, outputStream* st) {
}
int remaining = oa->length() - print_len;
if (remaining > 0) {
tty->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
st->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
}
}

View File

@ -381,7 +381,7 @@ void typeArrayKlass::oop_print_on(oop obj, outputStream* st) {
}
int remaining = ta->length() - print_len;
if (remaining > 0) {
tty->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
st->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
}
}