diff options
author | Tom Tromey <tromey@redhat.com> | 2004-10-21 15:55:09 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2004-10-21 15:55:09 +0000 |
commit | 5303e3d7d7c52c62996c487f6d8c498bbd3a4053 (patch) | |
tree | ab9cf3f68b9a650176dcda1caeee941e2bcb30ee /libjava/java/util/ResourceBundle.java | |
parent | 0dda4eea66db8f6452c7f2f13969cb36cfd0a43a (diff) | |
download | gcc-5303e3d7d7c52c62996c487f6d8c498bbd3a4053.zip gcc-5303e3d7d7c52c62996c487f6d8c498bbd3a4053.tar.gz gcc-5303e3d7d7c52c62996c487f6d8c498bbd3a4053.tar.bz2 |
ResourceBundle.java (tryBundle): Also ignore ClassCastException.
* java/util/ResourceBundle.java (tryBundle): Also ignore
ClassCastException.
From-SVN: r89379
Diffstat (limited to 'libjava/java/util/ResourceBundle.java')
-rw-r--r-- | libjava/java/util/ResourceBundle.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/java/util/ResourceBundle.java b/libjava/java/util/ResourceBundle.java index fdeaeed..3299c6f 100644 --- a/libjava/java/util/ResourceBundle.java +++ b/libjava/java/util/ResourceBundle.java @@ -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) { |