On Fri, 8 Apr 2022 11:25:36 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>>> ok, so you are telling out.write(array, last, counter - last - 1) will 
>>> write till \r\n and out.write(endOfLine) will write \r\n, is it?
>> 
>> Yes.
>
> So, presently it was writing <String>/r/n/r/n and with fix, it will write 
> <String>/r/n, right?

No, presently it was writing /r/r/n and with fix it will write /r/n for every 
line ending...... /r was causing for carriage return and /r/n for an extra 
empty line on Text pane.......

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

PR: https://git.openjdk.java.net/jdk/pull/8122

Reply via email to