8148470: Metadata print routines should not print to tty

Reviewed-by: iklam, mgerdin
This commit is contained in:
Goetz Lindenmaier 2016-01-28 15:13:15 -08:00
parent 888f757047
commit a5f97662f5

View File

@ -58,13 +58,13 @@ class Metadata : public MetaspaceObj {
if (this == NULL)
st->print("NULL");
else
print_on(tty);
print_on(st);
}
void print_value_on_maybe_null(outputStream* st) const {
if (this == NULL)
st->print("NULL");
else
print_value_on(tty);
print_value_on(st);
}
virtual void print_on(outputStream* st) const; // First level print