From 39087c1c9526674767766fb723023483736b70f7 Mon Sep 17 00:00:00 2001 From: Andrew John Hughes Date: Mon, 28 Mar 2005 18:47:49 +0000 Subject: 2005-03-28 Andrew John Hughes Merge of HEAD --> generics-branch for 2005/03/23-2005/03/28. Changelog: 2005-03-28 Sven de Marothy * gnu/java/io/decode/DecoderUnicodeBig.java, * gnu/java/io/decode/DecoderUnicodeLittle.java, * gnu/java/io/encode/EncoderUnicodeBig.java, * gnu/java/io/encode/EncoderUnicodeLittle.java: New files. 2005-03-26 Andrew John Hughes * doc/hacking.texinfo: Added note on reserved word usage. 2005-03-26 Dalibor Topic * native/jni/java-nio/gnu_java_nio_VMSelector.c: Moved include statement for config.h to the top to fix the build on Darwin6. Reported by: Riccardo Mottola 2005-03-26 Dalibor Topic * native/jni/java-nio/gnu_java_nio_VMSelector.c: Include to fix build on OS X. Reported by: Michael Franz 2005-03-26 Ito Kazumitsu * java/text/DecimalFormat.java (parse): Check whether the positive suffix matches the pattern. 2005-03-26 Chris Burdess * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as required. 2005-03-26 Jeroen Frijters * javax/imageio/spi/IIORegistry.java (IIORegistry): Don't assume that awt Toolkit is always ClasspathToolkit. 2005-03-26 Jeroen Frijters * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int, ColorModel,byte[],int,int): Fixed byte to int conversion. --- java/awt/image/PixelGrabber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/awt/image') diff --git a/java/awt/image/PixelGrabber.java b/java/awt/image/PixelGrabber.java index da50d1f70..9a68a0847 100644 --- a/java/awt/image/PixelGrabber.java +++ b/java/awt/image/PixelGrabber.java @@ -520,7 +520,7 @@ public class PixelGrabber implements ImageConsumer { ints_delivered = true; - int_pixel_buffer[i] = currentModel.getRGB (pixels[p]); + int_pixel_buffer[i] = currentModel.getRGB (pixels[p] & 0xFF); } else { -- cgit v1.2.1