8148470: Metadata print routines should not print to tty
authorgoetz
Thu, 28 Jan 2016 15:13:15 -0800
changeset 35881 accf9644fb73
parent 35880 7b253cfc2eac
child 35883 fb46176bb4c6
8148470: Metadata print routines should not print to tty Reviewed-by: iklam, mgerdin
hotspot/src/share/vm/oops/metadata.hpp
--- 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