Tibor17 commented on pull request #285:
URL: https://github.com/apache/maven-surefire/pull/285#issuecomment-619509634


   > However, to your point about excludedEnvironmentVariables always 
containing JAVA_HOME, perhaps this array should always contain anything 
configured in environmentVariables? It's not intuitive to me that specifying 
environmentVariables doesn't take effect unless I also exclude them.
   
   no, this is how env vars are implemented:
   `env vars in fork JVM` = `env vars in default JVM` + `environmentVariables`
   , where adding `env vars in default JVM` to the fork is performed by 
`maven-shared-utils`.


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


Reply via email to