RFR: 8297750: Unnecessary Vector usage in IIORegistry
Sergey Bylokhov
serb at openjdk.org
Wed Nov 30 07:29:22 UTC 2022
On Sun, 27 Nov 2022 17:51:15 GMT, Andrey Turbanov <aturbanov at openjdk.org> 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.
Marked as reviewed by serb (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/11379
More information about the client-libs-dev
mailing list