Currently, Mockito provides no way to suppress the execution of static initializer blocks ( <clinit ) when a…
Currently, Mockito provides no way to suppress the execution of static initializer blocks ( <clinit ) when a…: a task in LegoFlow-SWE (Harbor dataset). We need the ability to selectively prevent static initializers from running for specific classes, so that their static fields remain at the JVM’s…
The task
We need the ability to selectively prevent static initializers from running for specific classes, so that their static fields remain at the JVM’s zero-value defaults (`null`, `0`, `false`, etc.) instead of whatever the initializer would have assigned. This should be achievable by running Mockito as a Java agent…
Part of Lego-X/LegoFlow-SWE.