On 2012-11-29 22:43, Jonathan M Davis wrote:

They just let you blow your foot off. All static variables can be directly
initialized at runtime, so it's easy to use variables before they're actually
initialized. I don't know how they decide what order to run static
constructors in, but AFAIK, it never worries about circular dependencies.
We're only running into this problem beacuse we're trying to provide higher
safety and better guarantees with regards to when and how variables are
initialized.

I see.

--
/Jacob Carlborg

Reply via email to