RFR: 8311030: ResourceBundle.handleKeySet() is racy

Sergey Tsypanov stsypanov at openjdk.org
Thu Jun 29 10:10:53 UTC 2023


On Wed, 28 Jun 2023 20:02:58 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Double-checked locking should rely on local variable to avoid racy reads from volatile field.
>
> Looks ok; was this a tool detected race?

@RogerRiggs no tool, just fell into the sources while debugging my application

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

PR Comment: https://git.openjdk.org/jdk/pull/14692#issuecomment-1612772226


More information about the core-libs-dev mailing list