michael-o commented on PR #387:
URL: https://github.com/apache/maven-surefire/pull/387#issuecomment-2149685198

   I have created a new PR addressing this: #743. @CMoH, your approach is 
appreciated, but it solves only the symptom, not the cause. Look at the 
signature: 
https://github.com/apache/maven-surefire/blob/e166d93e13191b52c26291f6d5ef0bf83a5b97c8/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SystemUtils.java#L148.
 It expects a path to the Java executable and nothing else, not a JDK/JRE/Java 
home. Therefore, invalid data leads to undefined behavior, you see an NPE in 
this case.


-- 
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]

Reply via email to