FYI: Patch: java.awt - several patches merged

Michael Koch konqueror@gmx.de
Tue Apr 20 11:50:00 GMT 2004


Hi list,


I just merged the attached patch from GNU classpath with fixes from Ingo 
Proetel and Sascha Brawer.


Michael


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

	* java/awt/FontMetrics.java:
	(charsWidth): fixed accumulation of total_width
	(getWidth): simple default implementation
	* java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
	in Rectangle constructor.
	* java/awt/image/Raster.java (toString): Added method. 
	* java/awt/image/SampleModel.java (<init>): Added error cause
	information to thrown exception.
	* java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
	New method.
	(setDataElements): New method.
	(setPixels): New method.
	(toString): New method.

2004-04-20  Sascha Brawer  <brawer@dandelis.ch>

	* java/awt/image/ComponentColorModel.java
	(createCompatibleSampleModel): Return PixelInterleavedSampleModel
	for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
	Mauve tests on this method. Improved documentation.

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


More information about the Java-patches mailing list