<AWT Dev> Review request for 8144915: TextField Throws NPE

Ambarish Rapte ambarish.rapte at oracle.com
Wed Dec 9 09:13:35 UTC 2015


Hi,

Please review fix for JDK9,

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

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

 

 

Issue:

Null pointer exception in TextField.java::replaceEOL() function.

 

 

Cause:

This issue caused due to regression of 8055197 fix,

Null check was missing.

 

 

Fix:

Added null check on argument.

Already present Test   TextField/TextFieldEditing.java   covers the test case, So no new test needed.

 

 

Thanks,

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


More information about the awt-dev mailing list