Looks ok to me.

Regards
Prasanta
On 11/16/2015 3:54 PM, Ambarish Rapte wrote:

Dear All,

                Please review the fix for JDK9,

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

Webrev: http://cr.openjdk.java.net/~arapte/8060137/webrev.00/ <http://cr.openjdk.java.net/%7Earapte/8060137/webrev.00/>

Issue:

1.Type any character in /TextArea/ or /TextField/

2.Call /setText(null)/

ðThe text in /TextArea/ or /TextField/ does not get set to null.

Cause:

/TextComponent::setText()/, verifies /TextComponent::text/ variable for null value in /TextComponent::setText()/.

But text is a java variable which may not have latest value of actual at peer side.

Fix:

Fetch the latest value from /peer.getText(),/ before validating for null value.

Also updated tests for /TextArea/ & /TextField/ with the patch.

Many Thanks,

Ambarish


Reply via email to