-
Bug
-
Resolution: Done
-
Major
-
18.0.0.Final
-
None
A change in getting a value from java.io.tmpdir has been introduced in JDK 16. The change affects surefire: even though we set java.io.tmpdir in jboss-parent the value is not propagated in time and a default system value is used instead. Therefore, (for example using Files.createTempDirectory) temporary test files are created outside the project and can pollute filesystem. To fix this we can set the value using the <argLine> configuration element.