Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTimeZoneProviders always initializes TZDB and BCL providers #209

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 4 comments
Closed
Labels
bug
Milestone

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 15, 2015

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
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented 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
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented 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
@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 15, 2015

This issue was closed by revision f2cd165d05b0.

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

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 15, 2015

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.