RFR: 8164669: Lazier initialization of java.time

Chris Hegarty chris.hegarty at oracle.com
Wed Aug 24 10:11:08 UTC 2016


+1.

-Chris.

On 23/08/16 21:52, Stephen Colebourne wrote:
> This looks fine to me. I suspect that we could hand write a parser to
> avoid the regex, but this probably suffices.
> Stephen
>
> On 23 August 2016 at 19:49, Claes Redestad <claes.redestad at oracle.com> wrote:
>> Hi,
>>
>> this tiny cleanup reduces number of loaded classes from a minimal test
>> touching java.time.ZoneId.systemDefault() by ~40, by virtue of avoiding
>> pulling in regex and some internal Calendar-related classes.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8164669
>> Webrev: http://cr.openjdk.java.net/~redestad/8164669/webrev.01/
>>
>> Thanks!
>>
>> /Claes


More information about the core-libs-dev mailing list