On Tue, 17 Nov 2026 11:17:54 GMT, Alexey Ivanov <[email protected]> wrote:

>> test/jdk/javax/imageio/plugins/gif/GIFLoopAnimationTest.java line 1:
>> 
>>> 1: /*
>> 
>> This test should be in awt/image test folder not in ImageIO.
>
> Why does it need to be in `awt/image`? Similar tests are in ImageIO, the 
> folder `javax/imageio/plugins/gif` contains lots of tests which test 
> `GifImageDecoder`.
> 
> I couldn't find an easy way to verify animation stops without showing GUI.

Because this PR is making changes related to AWT Image loading API's
There are no tests in `javax/imageio/plugins/gif`  directory which use AWT 
image loading API’s. All the tests in `javax/imageio/plugins/gif`  use 
`javax.imageio` API’s.

We have gif specific test folder at `test/jdk/sun/awt/image/gif `where we have 
GIF AWT image loading API’s. This folder also has a utility to create and 
compare GIF files.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33701#discussion_r4602153629

Reply via email to