[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug inetlib/22787] java.awt.image.DataBuffer* - bugs in 1D buffer const
From: |
gcc-bugzilla at gcc dot gnu dot org |
Subject: |
[Bug inetlib/22787] java.awt.image.DataBuffer* - bugs in 1D buffer constructors |
Date: |
16 Oct 2005 01:27:13 -0000 |
There is a systematic bug in the constructors of these
classes that take a 1D array as an argument. These
constructors fail to initialize the bankData and offsets
attributes. This results in a variety of problems; e.g.
getElem(int, int) fails with a NullPointerException as
illustrated by the mauve following testcases:
gnu.testlet.java.awt.image.DataBufferByte.getElem
gnu.testlet.java.awt.image.DataBufferDouble.getElem
etcetera
A straightforward fix is possible.
------- Comment #1 from from-classpath at savannah dot gnu dot org 2004-10-13
13:14 -------
I just commited a fix to GNU classpath CVS which makes all mauve testcases
pass. Thanks for your contribution.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22787
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug inetlib/22787] java.awt.image.DataBuffer* - bugs in 1D buffer constructors,
gcc-bugzilla at gcc dot gnu dot org <=