Am Donnerstag, den 02.11.2006, 17:04 +0000 schrieb David Gilbert: > Hi Roman, > > I wanted to try this out, but if I do a clean check out of the latest > CVS, I get the following compile error when I compile with Jikes: > > Found 1 semantic error compiling > "../gnu/java/awt/peer/gtk/GdkFontPeer.java": > > 59. public class GdkFontPeer extends ClasspathFontPeer > ^---------^ > *** Semantic Error: The abstract method "java.awt.geom.Rectangle2D > getStringBounds(java.awt.Font font, java.text.CharacterIterator ci, int > begin, int limit, java.awt.font.FontRenderContext frc);", inherited from > type "gnu.java.awt.peer.ClasspathFontPeer", is not implemented in the > non-abstract class "gnu.java.awt.peer.gtk.GdkFontPeer".
Whoopsie. I forgot to check in the changed ClasspathFontPeer class. Attached you find the patch that I checked in right now. /Roman
Index: gnu/java/awt/peer/ClasspathFontPeer.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/java/awt/peer/ClasspathFontPeer.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -1 -5 -r1.9 -r1.10 --- gnu/java/awt/peer/ClasspathFontPeer.java 13 Jul 2006 17:30:24 -0000 1.9 +++ gnu/java/awt/peer/ClasspathFontPeer.java 2 Nov 2006 17:13:51 -0000 1.10 @@ -820,30 +820,16 @@ CharacterIterator ci, int begin, int limit, FontRenderContext rc); /** * Implementation of [EMAIL PROTECTED] Font#getMaxCharBounds(FontRenderContext)} * * @param font the font this peer is being called from. This may be * useful if you are sharing peers between Font objects. Otherwise it may * be ignored. */ public abstract Rectangle2D getMaxCharBounds (Font font, FontRenderContext rc); - /** - * Implementation of [EMAIL PROTECTED] Font#getStringBounds(CharacterIterator, int, - * int, FontRenderContext)} - * - * @param font the font this peer is being called from. This may be - * useful if you are sharing peers between Font objects. Otherwise it may - * be ignored. - */ - - public abstract Rectangle2D getStringBounds (Font font, - CharacterIterator ci, - int begin, int limit, - FontRenderContext frc); - }