On Tue, 6 Jan 2026 11:09:35 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
>
> This seems reasonable. You will need to update the PR title to match the 
> change I made to the bug title.

@Michael-Mc-Mahon Thank you for the review. I updated the PR title to match bug 
title : [JDK-8374342](https://bugs.openjdk.org/browse/JDK-8374342)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28985#issuecomment-3718705083

Reply via email to