olamy commented on code in PR #3420:
URL: https://github.com/apache/maven-surefire/pull/3420#discussion_r3743473354
##########
maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java:
##########
@@ -514,6 +515,12 @@ private RunResult fork(
if (effectiveSystemProperties != null) {
SurefireProperties filteredProperties =
createCopyAndReplaceForkNumPlaceholder(effectiveSystemProperties, forkNumber);
+ String javaIoTmpDir =
filteredProperties.getProperty("java.io.tmpdir");
+ if (javaIoTmpDir != null) {
+ // The JDK caches the default temporary directory before
ForkedBooter can set system properties.
+ startupSystemProperties.setProperty("java.io.tmpdir",
javaIoTmpDir);
Review Comment:
see my comment here
https://github.com/apache/maven-surefire/issues/2940#issuecomment-5231048722
--
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]