RFR: 8159055: ImageIcon.setImage can't handle null parameter [v23]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Jul 29 14:13:40 UTC 2025
On Tue, 29 Jul 2025 13:09:50 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Rectify @throws clause, update test to delete file
>
> test/jdk/javax/swing/ImageIcon/ImageIconTest.java line 54:
>
>> 52: File file = new File(imgName);
>> 53: file.deleteOnExit();
>> 54: String fileName = file.getName();
>
> Don't `imgName` and `fileName` store the same value now?
yes removed
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25767#discussion_r2239967294
More information about the client-libs-dev
mailing list