Skip to content

Commit d435362

Browse files
author
Alex Menkov
committed
8353479: jcmd with streaming output breaks intendation
Reviewed-by: sspitsyn, jsjolen
1 parent 130b0cd commit d435362

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hotspot/share/services/attachListener.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ class attachStream : public bufferedStream {
138138
if (is_streaming()) {
139139
if (!_error) {
140140
_error = !_reply_writer->write_fully(str, (int)len);
141+
update_position(str, len);
141142
}
142143
} else {
143144
bufferedStream::write(str, len);

0 commit comments

Comments
 (0)