RFR 8199435 : Unsafe publication of java.util.Properties.map
Martin Buchholz
martinrb at google.com
Tue Jun 19 05:34:00 UTC 2018
On Mon, Jun 18, 2018 at 10:19 PM, David Holmes <david.holmes at oracle.com>
wrote:
>
> I'm unsure why we're trying to make this particular class
> unsafe-publication-proof, but I guess it's generally a good thing.
The particular field we're changing is a """final""" field, and it would be
pretty embarrassing to grab a stale value of that - the wrong lock!
More information about the core-libs-dev
mailing list