-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b17
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8194027 | openjdk7u | Weijun Wang | P4 | Resolved | Fixed | master |
File::deleteOnExit (for a temp file in the working directory) is not a good idea;
1. It's useless in agentvm/savevm mode because the file won't be deleted when the test finishes.
2. It's not necessary because jtreg will clean up the working directory for you.
3. If the test fails, maybe you want to keep the file for diagnosis. jtreg can retain it for you.
1. It's useless in agentvm/savevm mode because the file won't be deleted when the test finishes.
2. It's not necessary because jtreg will clean up the working directory for you.
3. If the test fails, maybe you want to keep the file for diagnosis. jtreg can retain it for you.
- backported by
-
JDK-8194027 Do not call File::deleteOnExit in security tests
-
- Resolved
-