We are using PowerMock in few of our historical projects. Unfortunately PowerMock is quite dead and is not compatible with Java 11.
And we are using mockStatic(). Ye
If there are a lot of test classes to migrate to Java 11, it is possible to configure the ignores only once in the org/powermock/entensions/configuration.properties file :
powermock.global-ignore=com.sun.org.apache.xerces.*,javax.xml.*,org.xml.*,org.w3c.*