Patch: java-awt fixes merged

Michael Koch konqueror@gmx.de
Tue May 4 21:25:00 GMT 2004


Hi list,


I just commited the attached patch to trunk to merge fixes by Ingo 
Prötel from GNU classpath.


Michael


2004-05-04  Ingo Proetel  <proetel@aicas.com>

	* java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel 
has
        32 bit pixels not 8 bit pixels.
	(isCompatibleRaster): Added javadoc comment.

2004-05-04  Ingo Proetel  <proetel@aicas.com>

	* java/awt/image/ComponentSampleModel.java (setDataSamples):Do not 
reset
	scanline stride.

2004-05-04  Ingo Proetel  <proetel@aicas.com>

	* java/awt/ColorPaintContext.java (<init>): Added ColorModel to 
signature.
	(getColorModel): Return the actual color model.
	(getRaster): Implemented.
	(ColorRaster): New inner class.
	* java/awt/SystemColor.java (createContext): Use ColorModel when 
creating
	a PaintContext.
	* java/awt/Color.java (<init>): Make exception more verbose.
	(createContext): Use ColorModel when creating a PaintContext.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: awt.diff
Type: text/x-diff
Size: 9203 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040504/3c2ac09f/attachment.bin>


More information about the Java-patches mailing list