<AWT Dev> Review request for 8151588: Press the button first two times, the 'First' and 'Next' didn't show

Ambarish Rapte ambarish.rapte at oracle.com
Wed Jun 15 15:09:54 UTC 2016


Please review this fix for JDK9,

Webrev: http://cr.openjdk.java.net/~arapte/8151588/webrev.00/

Bug: https://bugs.openjdk.java.net/browse/JDK-8151588




When Text Area is not in focus, If select or append is called on Text Area and if the desired text is not in visible area

then the Text Area should auto scroll to make the desired text visible.

But this behavior was broken due to fix of,

bug: https://bugs.openjdk.java.net/browse/JDK-6180449

Patch(1): http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b9f91de8ae43




Issue JDK-6180449 is also fixed by fix of,




Hence reverting the fix Patch(1) for JDK-6180449 to fix this regression.




All JCK tests for Text Area pass, no other test fails due to this change.

The newly added test with this fix, fails without the patch and passes after merging the patch.





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

More information about the awt-dev mailing list