<AWT Dev> Review Request for 8160056: TextField.setText breaks the contract of EOL
Ambarish Rapte
ambarish.rapte at oracle.com
Tue Aug 16 10:16:57 UTC 2016
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/
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160816/db9c8ccf/attachment.html>
More information about the awt-dev
mailing list