bug-classpath
[Top][All Lists]
Advanced

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

[Bug awt/23736] NullPointerException in java.awt.image.ComponentColorMod


From: pinskia at gcc dot gnu dot org
Subject: [Bug awt/23736] NullPointerException in java.awt.image.ComponentColorModel constructor
Date: 5 Sep 2005 16:59:07 -0000

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-05 
16:59 -------
There are two ways of fixing this, either instead of passing null to the other 
constructor for 
ComponentColorModel, pass "new int[]{}" or change sum to return 0 for NULL.
The real fix depends on what does the constructor ComponentColorModel which 
takes bits deals with 
NULL?

-- 


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




reply via email to

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