On 27/02/15 09:36, Stephen Colebourne wrote:
On 26 February 2015 at 23:29, Peter Levart <peter.lev...@gmail.com> wrote:
Here's another variant that doesn't use a back link to base TimeZone:
http://cr.openjdk.java.net/~plevart/jdk9-dev/ZoneId.systemDefault/webrev.03/

Yes, thats easier to follow. I think I'd be happy with that approach.

I don't think I saw an issue raised for caching the clock in ZoneId.
That seems like a good plan to me (ZoneId instances are controlled
singletons, so there is no big memory issue there)

I'd been intending to log that. Thanks for reminding me!
Here is the issue:
https://bugs.openjdk.java.net/browse/JDK-8074023

best regards,

-- daniel


Stephen


Reply via email to