bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22866] [AWT] BasicStroke.hashCode() doesn't handle a null


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22866] [AWT] BasicStroke.hashCode() doesn't handle a null dash
Date: 16 Oct 2005 01:27:31 -0000

java.awt.BasicStroke.hashCode() does not check for a null dash (dashing array
pattern), throwing a NullPointerException for simple cases such as:

new BasicStroke().toString();


------- Comment #1 from from-classpath at savannah dot gnu dot org  2005-02-12 
22:59 -------
Oops. Thanks for noticing.
Added a Mauve test for this and fixed by:

2005-02-12  Mark Wielaard  <address@hidden>

        * java/awt/BasicStroke.java (hashCode): Check for null dash.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22866





reply via email to

[Prev in Thread] Current Thread [Next in Thread]