Why isn't it possible to access static final fields from a corresponding static initializer using the declaring class as qualifier (in a static way)?
At first, I thought this was an Eclipse bug:
I also consisted some lack of knowledge, because static initializers are not my everyday business. But lo and behold, this works without the class qualifier as expected:
To complete my test series, I gave it a try in the bash:
causing the same result.
This leads me to the final question:
Is there any reason to prohibit the class qualifier when accessing static final fields from static initializer blocks? Because the declaring class wasn't initialized before?