commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bugs #10607] java.awt.image.DataBuffer* - bugs in 1D buffer


From: Stephen Crawley
Subject: [commit-cp] [bugs #10607] java.awt.image.DataBuffer* - bugs in 1D buffer constructors
Date: Thu, 07 Oct 2004 11:51:21 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

This mail is an automated notification from the bugs tracker
 of the project: classpath.




/**************************************************************************/
[bugs #10607] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10607>
Project: classpath
Submitted by: Stephen Crawley
On: Thu 10/07/2004 at 15:43

Category:  inetlib
Severity:  5 - Average
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  java.awt.image.DataBuffer* - bugs in 1D buffer constructors

Original Submission:  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.















For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10607>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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