ResourceBundle.java (tryBundle): Also ignore ClassCastException.

* java/util/ResourceBundle.java (tryBundle): Also ignore
	ClassCastException.

From-SVN: r89379
This commit is contained in:
Tom Tromey 2004-10-21 15:55:09 +00:00 committed by Tom Tromey
parent 0dda4eea66
commit 5303e3d7d7
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-10-21 Tom Tromey <tromey@redhat.com>
* java/util/ResourceBundle.java (tryBundle): Also ignore
ClassCastException.
2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
* configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h

View File

@ -1,5 +1,5 @@
/* ResourceBundle -- aids in loading resource bundles
Copyright (C) 1998, 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@ -478,6 +478,7 @@ public abstract class ResourceBundle
catch (IllegalAccessException ex) {}
catch (InstantiationException ex) {}
catch (ClassNotFoundException ex) {}
catch (ClassCastException ex) {}
if (bundle == null)
{