<Swing Dev> [8] Review request for 7166409 bug4331515.java fail with NullPointerException on ubuntu10.04-x86 for JDK8
Alexander Scherbatiy
alexandr.scherbatiy at oracle.com
Thu Jan 10 13:25:23 UTC 2013
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.
More information about the swing-dev
mailing list