<Swing Dev> [11][JDK-8197785]javax.accessibility.AccessibilityBundle will reload the ResourceBundle for every call to toDisplayString

Semyon Sadetsky semyon.sadetsky at oracle.com
Tue Mar 6 18:15:43 UTC 2018


On 03/06/2018 10:01 AM, Phil Race wrote:

>
>
> On 03/06/2018 09:45 AM, Semyon Sadetsky wrote:
>> Can you point to place where this Hashmap is updated other then where 
>> it is initialized?
>
> You mean Hashtable ?
Right, sorry.
>
>  161                 table.put(locale, resourceTable);
>
> Will be executed once per locale.
It updates "table" not "resourceTable". The "table" field could be 
treated differently since writing in it really very rare but it is ok to 
leave it as it is. All what I meant concerned only the "resourceTable".

--Semyon
>
> -phil.
>




More information about the swing-dev mailing list