RFR [14] 8217606: LdapContext#reconnect always opens a new connection

Pavel Rappo pavel.rappo at oracle.com
Wed Aug 7 17:18:13 UTC 2019

Roger, thank you for looking at this. While we might hear (on some of your
questions) from Chris soon, I just have to ask about this one

> On 7 Aug 2019, at 16:52, Roger Riggs <Roger.Riggs at oracle.com> wrote:
> 238: isRunning should be synchronized(lock) to make sure each Thread sees the same value threads that update it in start() and close()

What makes you think they can see something different? Even though the result of
this call is immediately outdated, the changes to the state made by start/close
should be propagated as per JMM.

More information about the core-libs-dev mailing list