<AWT Dev> Review Request for 8160056: TextField.setText breaks the contract of EOL
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Aug 29 12:34:14 UTC 2016
+1
On 25.08.16 19:17, Alexandr Scherbatiy wrote:
> The fix looks good to me.
>
> Thanks,
> Alexandr.
>
> On 8/16/2016 1:16 PM, Ambarish Rapte wrote:
>>
>> Hi,
>>
>> Please review the change for JDK9,
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8160056
>>
>> Webrev:
>> http://cr.openjdk.java.net/~arapte/8160056/webrev.00/
>> <http://cr.openjdk.java.net/%7Earapte/8160056/webrev.00/>
>>
>>
>>
>>
>>
>> Change Description:
>>
>>
>>
>> The TextField is a single line text component.
>>
>> If the input text contains new line characters then the character will
>> be replace by space character.
>>
>>
>>
>> TextField replaces EOL(platform specific) and
>> LF(\n) characters with space character.
>>
>> Information about LF character is not explicitly
>> mentioned in the java doc.
>>
>> Hence adding the missing description.
>>
>>
>>
>>
>>
>> Regards,
>>
>> Ambarish
>>
>>
>>
>
--
Best regards, Sergey.
More information about the awt-dev
mailing list