30 lines
893 B
Diff
30 lines
893 B
Diff
From 42bb9ed9c5d4b0c8b07fb184ce1ab26718b376a5 Mon Sep 17 00:00:00 2001
|
|
Subject: 8148470: Metadata print routines should not print to tty
|
|
---
|
|
hotspot/src/share/vm/oops/metadata.hpp | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/hotspot/src/share/vm/oops/metadata.hpp b/hotspot/src/share/vm/oops/metadata.hpp
|
|
index 372faa953..34dd66afd 100644
|
|
--- a/hotspot/src/share/vm/oops/metadata.hpp
|
|
+++ b/hotspot/src/share/vm/oops/metadata.hpp
|
|
@@ -60,13 +60,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
|
|
--
|
|
2.22.0
|
|
|