CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Raif S. Naffah <raif> 06/08/13 01:06:20
Modified files:
java/util : ResourceBundle.java
. : ChangeLog
Log message:
2006-08-13 Raif S. Naffah <[EMAIL PROTECTED]>
PR Classpath/23952
* java/util/ResourceBundle.java (CACHE_SIZE): New constant.
(bundleCache): Replaced with an LRU of CACHE_SIZE elements.
(lastDefaultLocale): Removed.
(emptyLocale): Likewise.
(BundleKey.defaultLocale): New field.
(BundleKey.BundleKey): Add a Locale (as a 1st positional)
argument.
(BundleKey.set): Likewise.
(BundleKey.equals): Take defaultLocal field into consideration.
(getBundle(String, Locale, ClassLoader)): Use updated BundleKey
and LRU.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/ResourceBundle.java?cvsroot=classpath&r1=1.37&r2=1.38
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8374&r2=1.8375