classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] RFC: Fixed array assignment in java.awt.image.SampleMode.ge


From: Ziga Mahkovec
Subject: [cp-patches] RFC: Fixed array assignment in java.awt.image.SampleMode.getPixels
Date: Mon, 13 Jun 2005 21:08:39 +0200

This one should be pretty obvious: getPixel may allocate the pixel
array, however the returned array is never assigned back.

This caused NPEs to be thrown with Apache Batik.  I added a Mauve test.

OK to commit?
-- 
Ziga

2005-06-13  Ziga Mahkovec  <address@hidden>

        * java/awt/image/SampleModel.java (getPixels): Fixed array
        assignment.

Attachment: sm-getpixels.patch
Description: Text Data


reply via email to

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