powermock doesn't work anymore in Java 17. In java 16, you must add --illegal-access=permit to ensure powerMock executes successfully. otherwise, "RuntimeException: PowerMock internal error: Should never throw exception at this level" will occurs.
we need to get rid of PowerMock in unit tests.
this issue will remove powermock in shenyu pom.xml.
Description
powermock doesn't work anymore in Java 17. In java 16, you must add --illegal-access=permit to ensure powerMock executes successfully. otherwise, "RuntimeException: PowerMock internal error: Should never throw exception at this level" will occurs. we need to get rid of PowerMock in unit tests. this issue will remove powermock in shenyu pom.xml.
Task List