classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] [Patch] java.util.Calendar


From: Michael Koch
Subject: [cp-patches] [Patch] java.util.Calendar
Date: Mon, 27 Sep 2004 12:55:46 +0200
User-agent: Mutt/1.5.6+20040722i

Hi list,


I jsut commited the attached patch from Bryce McKinlay from gcc HEAD
branch.


Michael


2004-09-27  Bryce McKinlay  <address@hidden>

        * 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.

Attachment: cal.diff
Description: Text document


reply via email to

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