[Bug 477] NullPointerEx in swing class CompoundBorder method getBorderInsets

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Jun 10 14:11:00 PDT 2010


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=477


jon.vanalten at redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at icedtea.classpath|jon.vanalten at redhat.com
                   |.org                        |
             Status|NEW                         |ASSIGNED




------- Comment #2 from jon.vanalten at redhat.com  2010-06-10 21:10 -------
Created an attachment (id=365)
 --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=365&action=view)
Fixes NPE

This patch prevents NPE by checking for null Insets objects when computing its
own insets.  I've also posted this for discussion upstream.

http://mail.openjdk.java.net/pipermail/swing-dev/2010-June/001073.html


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list