changeset 3691:86af3dacab81

8000227: [obj|type]ArrayKlass::oop_print_on prints one line to tty instead of the provided output stream Reviewed-by: brutisso, sla, jmasa, coleenp
author stefank
date Mon, 01 Oct 2012 13:29:11 +0200
parents 85f1cded9793
children 87ac5c0a404d
files src/share/vm/oops/objArrayKlass.cpp src/share/vm/oops/typeArrayKlass.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/oops/objArrayKlass.cpp	Fri Sep 28 15:34:32 2012 +0200
+++ b/src/share/vm/oops/objArrayKlass.cpp	Mon Oct 01 13:29:11 2012 +0200
@@ -646,7 +646,7 @@
   }
   int remaining = oa->length() - print_len;
   if (remaining > 0) {
-    tty->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
+    st->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
   }
 }
 
--- a/src/share/vm/oops/typeArrayKlass.cpp	Fri Sep 28 15:34:32 2012 +0200
+++ b/src/share/vm/oops/typeArrayKlass.cpp	Mon Oct 01 13:29:11 2012 +0200
@@ -381,7 +381,7 @@
   }
   int remaining = ta->length() - print_len;
   if (remaining > 0) {
-    tty->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
+    st->print_cr(" - <%d more elements, increase MaxElementPrintSize to print>", remaining);
   }
 }