Are there any guarantees in JLS about order of execution static initialization blocks?
Yes, static initializer blocks are guaranteed to execute in textual order. From the JLS, section 12.4.1: The intent is that a class or interface type has a set of initializers that put it in a consistent state, and that this state is the first state that is observed by other classes. The static initializers and … Read more