mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8185458: Added comment for Files.notExists in FileUtils test library
Reviewed-by: chegar
This commit is contained in:
parent
b45c9233a4
commit
71e91d9c2e
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ public final class FileUtils {
|
|||
while (true) {
|
||||
try {
|
||||
Files.delete(path);
|
||||
// Checks for absence of the file. Semantics of Files.exists() is not the same.
|
||||
while (!Files.notExists(path)) {
|
||||
times++;
|
||||
if (times > MAX_RETRY_DELETE_TIMES) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue