Hi,

> > 2005-08-17  Roman Kennke  <[EMAIL PROTECTED]>
> > 
> >         * java/awt/FontMetrics.java
> >         (charWidth(int)): Correctly map Unicode indices to char[] here.
> 
> Which gives:
> 
>    196.     char[] chars = Character.toChars(ch);
>                            ^-------------------^
>   *** Semantic Error: No accessible method with signature "toChars(int)"
>   was found in type "java.lang.Character".
> 
> This method seems to be trying to handle arbitrary unicode code points,
> but we don't support those outside bmp yet. To fix the build breakage I
> just disabled this method for now. We can reenable it when the necessary
> updates for Character go in.
> 
> 2005-08-17  Mark Wielaard  <[EMAIL PROTECTED]>
> 
>       * java/awt/FontMetrics.java (charWidth(int)): Disable.
> 
> Should I commit that or do you have an update to Character pending?

Sorry, this was an accident. I found this while working on Jamaica and
haven't checked if that method actually exists in Classpath. Sorry for
that.

As a workaround we could either disable this thingy for now or add the
method in question to Character and let it return a new char[]{(char)
arg}

/Roman




_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to