bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/22774] java.awt.RenderingHints constructor does not accep


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22774] java.awt.RenderingHints constructor does not accept null argument
Date: 16 Oct 2005 01:27:08 -0000

RenderingHints(Map init) throws a null pointer exception if init is null. Sun's
spec says init may be null.


------- Comment #1 from from-classpath at savannah dot gnu dot org  2004-08-26 
14:55 -------
I've noticed this also.  A fix is included in patch 3301 and I also sent a
bunch of Mauve tests for the RenderingHints class to the mauve-patches mailing
list.  Hopefully someone with CVS commit rights can take a look.


------- Comment #2 from from-classpath at savannah dot gnu dot org  2004-08-27 
22:48 -------
Fixed by:

2004-08-27  David Gilbert  <address@hidden>

        * java/awt/RenderingHints.java: Documented.
        (RenderingHints): Accept null init Map.
        (putAll): Preprocess map to generate appropriate exceptions.
        (remove): Cast object to Key and remove from hintMap.


-- 


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





reply via email to

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