mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-27 15:41:00 +08:00
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