RFR: 8353479: jcmd with streaming output breaks intendation

Alex Menkov amenkov at openjdk.org
Tue Apr 1 21:32:35 UTC 2025


`outputStream` implementations should call `update_position` from `write` to correctly handle indentation.
The fix adds the call to `attachStream::write`

testing: sanity tier1;
   in progress: tier2..4,hs-tier5-svc

-------------

Commit messages:
 - fix

Changes: https://git.openjdk.org/jdk/pull/24368/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24368&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8353479
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/24368.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24368/head:pull/24368

PR: https://git.openjdk.org/jdk/pull/24368


More information about the hotspot-runtime-dev mailing list