8148470: Metadata print routines should not print to tty
Reviewed-by: iklam, mgerdin
--- a/hotspot/src/share/vm/oops/metadata.hpp Thu Jan 28 19:30:39 2016 +0100
+++ b/hotspot/src/share/vm/oops/metadata.hpp Thu Jan 28 15:13:15 2016 -0800
@@ -58,13 +58,13 @@
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