Affects Version/s: 2.20.1, 3.0.0-M2
Fix Version/s: None
Component/s: Junit 4.x support
As discussed in
SUREFIRE-1601 I create a new issue.
I want to make my project (java,maven,junit,surefire) to work with Java11. However, surefire fails to execute the tests when run with Java11 (works fine with Java 1.8).
IllegalArgumentException: Stream stdin corrupted. Expected comma after third character in command 'FATAL ERROR in native method: processing of -javaagent failed'
Attached are the surefire reports of the affected project (which is actually the test-case of a maven archetype). You can find the entire code here:
(When cloning please ensure you checkout the branch java-11-surefire).
The github pull-request for it can be found here:
As you can see we are using travis-ci and JDK 1.8 build is green while JDK 11 build fails:
I hope to have served with all the information required for you to trace down and fix the issue. In case you are still missing any information do not hesitate to ask.