# HG changeset patch # User anazarov # Date 1506106193 25200 # Node ID 82c43b3c0ea088211f464998bf3c0ce097e45e30 # Parent 22d665f53a4a3da163526cc6630e3bb6ad6295f2 8185458: Added comment for Files.notExists in FileUtils test library Reviewed-by: chegar diff -r 22d665f53a4a -r 82c43b3c0ea0 test/lib/jdk/test/lib/util/FileUtils.java --- a/test/lib/jdk/test/lib/util/FileUtils.java Fri Sep 22 14:06:11 2017 +0200 +++ b/test/lib/jdk/test/lib/util/FileUtils.java Fri Sep 22 11:49:53 2017 -0700 @@ -98,6 +98,7 @@ 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) {