DateTimeZoneProviders always initializes TZDB and BCL providers #209

Closed
GoogleCodeExporter opened this Issue Mar 15, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@GoogleCodeExporter
An application which only ever uses the BCL time zones will still end up 
initializing TZDB if they use DateTimeZoneProviders.Bcl, due to the static 
initializer. We should make the loading of TZDB lazy.

Original issue reported on code.google.com by jonathan.skeet on 10 Apr 2013 at 9:03

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

This issue was closed by revision a7b3a5906ff6.

Original comment by jonathan.skeet on 11 Apr 2013 at 6:09

  • Changed state: Fixed
This issue was closed by revision a7b3a5906ff6.

Original comment by jonathan.skeet on 11 Apr 2013 at 6:09

  • Changed state: Fixed
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

The same is true of DateTimeZoneProviders.Bcl, which does non-trivial work to 
construct a DateTimeZoneCache.  See note in issue 217.

Original comment by malcolm.rowe on 27 Apr 2013 at 9:03

  • Changed title: DateTimeZoneProviders always initializes TZDB and BCL providers
The same is true of DateTimeZoneProviders.Bcl, which does non-trivial work to 
construct a DateTimeZoneCache.  See note in issue 217.

Original comment by malcolm.rowe on 27 Apr 2013 at 9:03

  • Changed title: DateTimeZoneProviders always initializes TZDB and BCL providers
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

This issue was closed by revision f2cd165d05b0.

Original comment by malcolm.rowe on 27 Apr 2013 at 9:04

This issue was closed by revision f2cd165d05b0.

Original comment by malcolm.rowe on 27 Apr 2013 at 9:04

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

This should help.  Thanks!

Original comment by mj1856 on 28 Apr 2013 at 7:24

This should help.  Thanks!

Original comment by mj1856 on 28 Apr 2013 at 7:24

@malcolmr malcolmr added the bug label Mar 15, 2015

@malcolmr malcolmr modified the milestone: 1.2.0 Mar 15, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment