Remove reflection from tests that's not allowed by Java 17

Merge request reports

Loading