akomakom commented on pull request #285: URL: https://github.com/apache/maven-surefire/pull/285#issuecomment-619465122
I'd say that `excludedEnvironmentVariables` can only contain `JAVA_HOME` in Toolchain mode (either maven's or surefire's). If there is no toolchain of any sort, or if `jvm` parameter is set, or if it's using the maven jvm, and excludedEnvironmentVariables includes JAVA_HOME, then there won't be a JAVA_HOME set at all for the test jvm. I don't think that this is desirable. ---------------------------------------------------------------- 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]
