FindBugs and static initialization order
问题 I have the following Java code: public class Something { static { new Something(); } public static final int[] EMPTY_INT_ARRAY = new int[0]; } I'm using FindBugs to look for code errors, but the following error is never raised: SI: Static initializer creates instance before all static final fields assigned (SI_INSTANCE_BEFORE_FINALS_ASSIGNED) The class's static initializer creates an instance of the class before all of the static final fields are assigned. Is this the correct case that should