On Thu, 8 Jan 2026 16:51:57 GMT, Michael McMahon <[email protected]> wrote:
>> ### Summary >> Remove incorrect @throws documentation from >> FileUtils.deleteFileIfExistsWithRetry. >> >> ### Description >> The method documentation states that no exception is thrown if the file does >> not exist. >> The implementation checks file existence before deletion and does not throw >> NoSuchFileException in this case. >> This change removes the contradictory @throws clause. >> No behavior is changed. >> >> ### Bug ID : JDK-8374342 >> https://bugs.java.com/bugdatabase/view_bug?bug_id=8374342 > > You need to prefix the PR title with the bugid as it was before. ie. > > 8374342: Remove incorrect @throws NoSuchFileException from > test/lib/jdk/test/lib/util/FileUtils.javaFileUtils.java @Michael-Mc-Mahon Thank you. I restored the PR title. /integrate ------------- PR Comment: https://git.openjdk.org/jdk/pull/28985#issuecomment-3728641789
