findepi commented on pull request #407: URL: https://github.com/apache/maven-surefire/pull/407#issuecomment-1002254432
@Tibor17 good question, and indeed I initially wanted to do exactly that. It seems possible to lookup a constructor taking `(String.class, int.class)` arguments. To me, it doesn't feel equally robust or future-proof as finding a setIndex method though. AFAIR, Using `(String.class, int.class)` constructor would narrow down range of versions where the solution would work, leaving some versions vulnerable to wrong default test ordering. -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org