8148470: Metadata print routines should not print to tty
Reviewed-by: iklam, mgerdin
This commit is contained in:
parent
888f757047
commit
a5f97662f5
@ -58,13 +58,13 @@ class Metadata : public MetaspaceObj {
|
|||||||
if (this == NULL)
|
if (this == NULL)
|
||||||
st->print("NULL");
|
st->print("NULL");
|
||||||
else
|
else
|
||||||
print_on(tty);
|
print_on(st);
|
||||||
}
|
}
|
||||||
void print_value_on_maybe_null(outputStream* st) const {
|
void print_value_on_maybe_null(outputStream* st) const {
|
||||||
if (this == NULL)
|
if (this == NULL)
|
||||||
st->print("NULL");
|
st->print("NULL");
|
||||||
else
|
else
|
||||||
print_value_on(tty);
|
print_value_on(st);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void print_on(outputStream* st) const; // First level print
|
virtual void print_on(outputStream* st) const; // First level print
|
||||||
|
Loading…
x
Reference in New Issue
Block a user