On Mon, 18 May 2026 16:27:31 GMT, Andy Goryachev <[email protected]> wrote:

> not the race condition, re-entrance - when `getPeerInstance()` is called from 
> within another call to `getPeerInstance()`.
> 
> For example, `createPeer()` is abstract, so a subclass can implement 
> `createPeer()` which in turn calls `getPeerInstance()` for some reason.

The same reentrant call could also have happened with the old implementation, 
as I didn't change which method is called from where. I don't see anything that 
has materially changed: neither the call stack, nor a potential race condition 
and an associated deadlock.

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

PR Comment: https://git.openjdk.org/jfx/pull/2091#issuecomment-4480774826

Reply via email to