[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/23952] java.util.ResourceBundle should use a more sophist
From: |
cvs-commit at developer dot classpath dot org |
Subject: |
[Bug classpath/23952] java.util.ResourceBundle should use a more sophisticated cache mechanism |
Date: |
13 Aug 2006 01:07:16 -0000 |
------- Comment #6 from cvs-commit at developer dot classpath dot org
2006-08-13 01:07 -------
Subject: Bug 23952
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 <address@hidden>
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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23952
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/23952] java.util.ResourceBundle should use a more sophisticated cache mechanism,
cvs-commit at developer dot classpath dot org <=