RFR: 8278086: [REDO] ImageIO.write() method will throw IndexOutOfBoundsException [v2]

Jayathirth D V jdv at openjdk.org
Mon Sep 26 13:20:37 UTC 2022


On Mon, 26 Sep 2022 12:01:43 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Jayathirth D V has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove biType variable
>
> src/java.desktop/share/classes/com/sun/imageio/plugins/bmp/BMPImageWriter.java line 1458:
> 
>> 1456:             return false;
>> 1457:         }
>> 1458:         int biType = imgType.getBufferedImageType();
> 
> Can remove biType variable I guess, since its not been used. 
> The fix is tested and verified.

Thanks for verifying the test case. Unused variable is removed.

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

PR: https://git.openjdk.org/jdk/pull/10419



More information about the client-libs-dev mailing list