<Swing Dev> [8] Review request for 7166409 bug4331515.java fail with NullPointerException on ubuntu10.04-x86 for JDK8

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Jan 10 13:44:47 UTC 2013


Hi, Alexander.
Fix looks fine. It would be good to fix typo: Fallback value is never 
used *bacause*.

10.01.2013 17:25, Alexander Scherbatiy wrote:
>
> Hello,
>
> Could you review the fix:
>   bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7166409
>   webrev: http://cr.openjdk.java.net/~alexsch/7166409/webrev.00
>
> The test passes on JDK 6 because it catches and ignores the 
> "NumberFormatException: multiple points".
> After fixing the NumberFormatException in JDK 7 the test fails with 
> the NPE because "win.highContrast.on" property returns null.
> The fix treats the null value of the "win.highContrast.on" property as 
> false.
>
>
> Thanks,
> Alexandr.
>


-- 
Best regards, Sergey.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20130110/cf6b49b4/attachment.html>


More information about the swing-dev mailing list