commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MissingResourceException and setting FontPeer to null


From: Michael Koch
Subject: Re: MissingResourceException and setting FontPeer to null
Date: Thu, 25 Mar 2004 18:29:33 +0100
User-agent: KMail/1.5.4

Am Donnerstag, 25. März 2004 18:25 schrieb Mark Wielaard:
> Hi,
>
> Classpath had the following patch before the merge with the libgcj
> gui branch.
>
> 2004-03-25  Mark Wielaard  <address@hidden>
>
>     * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
>     MissingResourceException is thrown.
>     * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't
> return null when a MissingResourceException is thrown. Should never
> happen.
>
> I want to put it back to make the visual tester work again with
> jamvm. The catching and then just setting the FontPeer to null was
> really nasty since that meant that much later in the program some
> things with Fonts just didn't work...
>
> Also OK for libgcj main?

I would say yes.


Michael





reply via email to

[Prev in Thread] Current Thread [Next in Thread]