Hi,

Downstream in IcedTea there was a report of this NPE:

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

The problem being that, while it checks that each of insideBorder and 
outsideBorder are non-null before trying to call their getBorderInsets() 
methods, there is no check that a non-null Insets object is returned before 
attempting to access its members.  See CR for simple fix:

http://icedtea.classpath.org/~vanaltj/webrevs/swing/bordernpe/webrev/

Comments?

Thanks!

jon

Reply via email to