<Swing Dev> [9] Review Request: 8149879 Examine UIDefaults::addResourceBundle(String bundleName) with resource encapsulation
Semyon Sadetsky
semyon.sadetsky at oracle.com
Mon Dec 12 09:09:29 UTC 2016
On 12/9/2016 10:21 PM, Sergey Bylokhov wrote:
> Interesting. Does it mean that if I register some custom resource bundle
>>>>>> it will not affect any UI values because all the values is already
>>>>>> cached in some UIDefaults map, is that what you mean?
>>>>>
>>>>> The cache will be cleared when you register a new bundle.
>>>> And if bundle remove the cache is not cleared?
>>>
>>> If bundle is removed from the list of bundles then the cache will be
>>> cleared as well.
>> Nice. Why the remove method is not modified in the fix?
>
> Why it should be modified? It does not expose an internal resource
> bundles and allow the user to modify the list of bundles in the
> UIDefaults.
Then why addResourceBundle() is modified to ***not***
> allow the user to modify the list of bundles in the UIDefaults.
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20161212/f2513484/attachment.html>
More information about the swing-dev
mailing list