RFR: 8180276: JTextPane getText return extra when mixed with methods of Document [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Fri Apr 8 11:34:42 UTC 2022
On Fri, 8 Apr 2022 10:14:58 GMT, Tejesh R <duke at openjdk.java.net> 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?
>> ANyway, you need to modify this change as per coding style which is
>>
>> else {
>> }
>
>> 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?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8122
More information about the client-libs-dev
mailing list