-
Enhancement
-
Resolution: Fixed
-
P3
-
12
-
b03
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8248927 | 11.0.9-oracle | Erik Joelsson | P3 | Resolved | Fixed | b01 |
JDK-8249252 | 11.0.9 | Erik Joelsson | P3 | Resolved | Fixed | b01 |
JDK-8257255 | emb-8u281 | Erik Joelsson | P3 | Resolved | Fixed | team |
There are a lot of jtreg tests that use temporary files. These temporary files add up over time and fill up the global temp directories on our test systems. To tackle this, we should try to redirect these temporary files into a directory controlled by the test framework. Jtreg does not do this, but we can set -Djava.io.tmpdir from RunTest.gmk. This will not prevent all temp files from being created outside of the work dir, but at least most.
I have found one test where this becomes an issue, java/nio/file/Path/Misc.java on Windows when running in elevated mode with the workspace on a subst drive. This looks like an actual issue in the product, so will file a separate bug for it.
I have found one test where this becomes an issue, java/nio/file/Path/Misc.java on Windows when running in elevated mode with the workspace on a subst drive. This looks like an actual issue in the product, so will file a separate bug for it.
- backported by
-
JDK-8248927 Set -Djava.io.tmpdir= when running tests
-
- Resolved
-
-
JDK-8249252 Set -Djava.io.tmpdir= when running tests
-
- Resolved
-
-
JDK-8257255 Set -Djava.io.tmpdir= when running tests
-
- Resolved
-
- is blocked by
-
JDK-8213216 Path.toRealPath behaves inconsistently with symlinks on subst:ed drives on Windows
-
- Open
-
- relates to
-
JDK-8223396 [TESTBUG] several jfr tests do not clean up files created in /tmp
-
- Resolved
-