On Sun, 27 Nov 2022 17:51:15 GMT, Andrey Turbanov <[email protected]> wrote:

> Field `javax.imageio.spi.IIORegistry#initialCategories` is modified only in 
> `static {}` block, which makes it effectively final. Instead of legacy 
> synchronized `Vector` we can use non-threadsafe `ArrayList` here.

This pull request has now been integrated.

Changeset: fa0c599a
Author:    Andrey Turbanov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/fa0c599a003962cf3457bb49b9f771659532b5c3
Stats:     17 lines in 1 file changed: 1 ins; 7 del; 9 mod

8297750: Unnecessary Vector usage in IIORegistry

Reviewed-by: prr, serb

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

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

Reply via email to