diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2004-07-10 02:38:55 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2004-07-10 03:38:55 +0100 |
commit | 3ee7acd137ffd4df6edcff788f9a75eb1f533ffc (patch) | |
tree | a21213186246ae4988b6aedc426b713636af538b /gcc/expr.c | |
parent | 284d6a1fc39e6c7bcfca33d3f67a69547c646207 (diff) | |
download | gcc-3ee7acd137ffd4df6edcff788f9a75eb1f533ffc.zip gcc-3ee7acd137ffd4df6edcff788f9a75eb1f533ffc.tar.gz gcc-3ee7acd137ffd4df6edcff788f9a75eb1f533ffc.tar.bz2 |
java.util.Calendar.java (cache): New private static field.
2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
* java.util.Calendar.java (cache): New private static field. Cached
mappings of locales->calendar classes.
(ctorArgTypes): New private static field. Singleton argument for
calendar class constructor lookup.
(getInstance): Cache Locale->Calendar class mappings using HashMap.
Optimize by bypassing reflection instantiation for the
GregorianCalendar case.
From-SVN: r84438
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions