On Mon, 11 Apr 2022 10:20:52 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
> Is it a bug then? It is not a bug I guess, it is as expected and as commented out about the logic in `read()` method...... The bug states this statement " But if we use append() first and then setText(pane.getText + newText), before every \r\n another \r is added, and in output, extra blank line are added."...... In windows extra \r was added because of the previous logic, it was causing an extra empty line...... ------------- PR: https://git.openjdk.java.net/jdk/pull/8122