Tibor17 edited a comment on pull request #285: URL: https://github.com/apache/maven-surefire/pull/285#issuecomment-619463893
You want to say that the inherited JAVA_HOME is a problem, right? This might be an issue but i don't think that we should touch the class `DefaultJavaToolChain` in `getEffectiveJvm()` so heavily due to we use the toolchain in order to observe the path to the Java executable. Personally i would say that `excludedEnvironmentVariables` should always contain `JAVA_HOME`. Pls check it out only with this change and try to test and investigate the processes environmets again. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
