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

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Dec 9 10:04:41 UTC 2015


Looks good.

--Semyon

On 12/9/2015 12:13 PM, Ambarish Rapte wrote:
>
> 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/ 
> <http://cr.openjdk.java.net/%7Earapte/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/ef7c9a75/attachment.html>


More information about the awt-dev mailing list