Sorry went to bed before I saw this. The linked post explains how the use of static fields within static initializers can be a problem. That's good for their first snippet of code. Their second snippet of code isn't laid out that way, so doesn't have that problem.
I've added a second post with the corresponding section of the JLS.
"How java class initialization works?" is not a useful sign post.