BTW, I believe making it "final" means to make sure every threads are
guaranteed to see the same value, not because it is not changed after
On 9/16/16 2:09 AM, Nishit Jain wrote:
Please review the fix for JDK-8165984
Fix: the private lookup variable is made final in PropertyResourceBundle
as after initialization it is not changed anywhere. lookup variable is
made volatile in ListResourceBundle to make sure that multiple threads
read the value from main memory.