changeset 4205:78bef3bdb386

8006937: [obj|type]ArrayKlass::oop_print_on prints one line to tty instead of the provided output stream Reviewed-by: kvn, stefank, poonam Contributed-by: sergey.gabdurakhmanov@oracle.com
author poonam
date Thu, 14 Feb 2013 04:40:23 -0800
parents f016e64be7b4
children 38d1bd11fb2d
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	Wed Feb 13 09:46:19 2013 +0100
+++ b/src/share/vm/oops/objArrayKlass.cpp	Thu Feb 14 04:40:23 2013 -0800
@@ -504,7 +504,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	Wed Feb 13 09:46:19 2013 +0100
+++ b/src/share/vm/oops/typeArrayKlass.cpp	Thu Feb 14 04:40:23 2013 -0800
@@ -354,7 +354,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);
   }
 }