<AWT Dev> Review request: JDK-8040322 TextArea.replaceRange() and insert() are broken with setText(null)

Ambarish Rapte ambarish.rapte at oracle.com
Fri Sep 18 11:36:29 UTC 2015


                Please review the following fix for jdk9.

                Bug:            https://bugs.openjdk.java.net/browse/JDK-8040322
                Webrev:   http://cr.openjdk.java.net/~psadhukhan/ambarish/8040322/webrev.00/

            TextArea.setText(null)   does not set TextArea text to null when called after
            TextArea.replaceRange(), TextArea.insert(),  TextArea.append().


                Variable "text"  was not correctly updated in

TextArea.replaceRange(), TextArea.insert(),  TextArea.append()  in  awt / TextArea.java  


                Update the variable "text" correctly with the calls to

TextArea.replaceRange(), TextArea.insert(),  TextArea.append()

In file awt / TextArea.java




Many Thanks,
Ambarish Rapte

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20150918/8c629472/attachment.html>

More information about the awt-dev mailing list