The condition to bound output length was inverted.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8383909: Unused Threadumper.BoundedByteArrayOutputStream.write(int b) is wrong Changes: https://git.openjdk.org/jdk/pull/31056/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31056&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8383909 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/31056.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31056/head:pull/31056 PR: https://git.openjdk.org/jdk/pull/31056
