[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Obvious bug in java.awt.image.IndexColorModel.getRGB
From: |
Guilhem Lavaux |
Subject: |
[cp-patches] Obvious bug in java.awt.image.IndexColorModel.getRGB |
Date: |
Fri, 01 Apr 2005 18:28:49 +0200 |
Hi,
Here is a quick fix for getRGB(). It should also check whether the pixel
value is negative to avoid throwing ArrayIndexOutOfBoundException.
ChangeLog entry:
2005-04-01 Guilhem Lavaux <address@hidden>
* java/awt/image/IndexColorModel.java
(getRGB): Check if pixel is negative.
image_patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Obvious bug in java.awt.image.IndexColorModel.getRGB,
Guilhem Lavaux <=