This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: MissingResourceException and setting FontPeer to null
Am Freitag, 26. März 2004 14:43 schrieb Mark Wielaard:
> 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?
Personally I would say for both but I'm not the person to approve things
for mainline ... and gui branch has no approving mechanism.
Michael