On Fri, 1 Dec 2023 06:31:00 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> CSS.BackgroundImage.getImage uses double-checked locking but the loadedImage 
> field isn't declared as volatile. Without the volatile modifier, 
> double-checked locking implementation is broken.

It is probably easy just drop the usage of loadedImage and use the image 
instead?

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

PR Comment: https://git.openjdk.org/jdk/pull/16917#issuecomment-1839443510

Reply via email to