Hyeon-moGu opened a new issue, #13709: URL: https://github.com/apache/skywalking/issues/13709
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement. ### Description ### Motivation Currently, many test classes in the project still rely on `org.powermock.reflect.Whitebox` for private field access. Since PowerMock is no longer maintained and causes compatibility issues with JDK 17 and above, it is necessary to migrate these tests to standard libraries like Mockito or pure Java Reflection. ### Proposal I propose to remove the `powermock-reflect` dependency and refactor the existing tests. I plan to start with the `server-alarm-plugin` module as a first step. ### Use case - Improving compatibility with modern JDK versions (17, 21+). - Reducing the number of unmaintained dependencies in the project. - Making the test code cleaner and easier to maintain. ### Related issues No related issues found. This is a new proposal for test code modernization. ### Are you willing to submit a pull request to implement this on your own? - [x] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
