This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MissingResourceException and setting FontPeer to null


Hi,

On Thu, 2004-03-25 at 18:29, Michael Koch wrote:
> Am Donnerstag, 25. März 2004 18:25 schrieb Mark Wielaard:
> > Classpath had the following patch before the merge with the libgcj
> > gui branch.
> >
> > 2004-03-25  Mark Wielaard  <mark@klomp.org>
> >
> >     * 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.

For mainline or gui branch?

Thanks,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]