RFR: 8365292: Remove javax.imageio.spi.ServiceRegistry.finalize() [v2]
Sergey Bylokhov
serb at openjdk.org
Fri Aug 22 03:06:07 UTC 2025
On Wed, 20 Aug 2025 20:33:09 GMT, Phil Race <prr at openjdk.org> wrote:
>I don't see how there's any deadlock risk here, and certainly no more than before.
I do not have a strong opinion, but this is possible if the application starts loading or initializing classes including those related to its service providers -> which may use IIORegistry. And on another thread, other classes might try to initialize IIORegistry first -> boom.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26752#discussion_r2292585460
More information about the client-libs-dev
mailing list