Problem in java.util.ResourceBundle.java

Godmar Back gback at cs.utah.edu
Wed Mar 10 20:20:53 PST 1999


 Good point.

I may have broken this when I upgraded parts of Kaffe to be closer to
1.2 wrt when you throw NoClassDefFoundError as opposed to 
ClassNotFoundException.

I've never figured out just when Class.forName throws ClassNotFoundException
as opposed to NoClassDefFoundError.

In any event, getSpecificBundle should probably ignore NoClassDefError 
as well.

	- Godmar

If you want, you could try:

--- ResourceBundle.java 1998/12/09 23:20:31     1.5
+++ ResourceBundle.java 1999/03/11 05:26:27
@@ -113,6 +113,8 @@
                        return ((ResourceBundle)cls.newInstance());
                }
        }
+       catch (NoClassDefFoundError __) {
+       }
        catch (Exception _) {
        }
 



More information about the kaffe mailing list