commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ./ChangeLog java/util/ResourceBundle....


From: Bryce McKinlay
Subject: [commit-cp] classpath ./ChangeLog java/util/ResourceBundle....
Date: Sat, 20 Nov 2004 22:00:50 -0500

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Bryce McKinlay <address@hidden> 04/11/21 02:54:35

Modified files:
        .              : ChangeLog 
        java/util      : ResourceBundle.java 

Log message:
        2004-11-20  Tom Tromey  <address@hidden>
        
        * java/util/ResourceBundle.java (tryBundle): Use
        Class.isAssignableFrom rather than catching ClassCastException.
        
        2004-11-20  Bryce McKinlay  <address@hidden>
        
        * java/util/ResourceBundle.java (bundleCache): Renamed from
        resourceBundleCache. Update comments.
        (getObject): Don't catch MissingResourceException.
        (getBundle(String)): Remove 'final'. Use system classloader if
        getCallingClassLoader returned null.
        (getBundle(String, Locale)): Likewise.
        (BundleKey): New private class. HashMap key for bundle cache lookup.
        (lookupKey): New. Singleton instance of BundleKey.
        (nullEntry): New. Cache entry to represent failed lookups.
        (getBundle(String, Locale, ClassLoader)): Re-written to use new
        caching strategy, no-allocation lookup, and new tryBundle methods.
        (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
        name using given classloader.
        (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
        baseName for given Locale and attempt to load bundle.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.2820&tr2=1.2821&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/util/ResourceBundle.java.diff?tr1=1.25&tr2=1.26&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]