<Swing Dev> [9] Review Request: 8149879 Examine UIDefaults::addResourceBundle(String bundleName) with resource encapsulation

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Nov 30 06:52:33 UTC 2016


On 11/28/2016 7:41 PM, Sergey Bylokhov wrote:

> Hello.
>
> Please review the fix for jdk9.
>
> This fix improve encapsulation of java.desktop module. After the fix 
> the method "UIDefaults::addResourceBundle()" will not be able to 
> register resource bundles which are located in the java.desktop 
> module. Only the java.desktop module itself will be able to use such 
> bundles.
I'm just curios. The UIDefaults::addResourceBundle() violates 
encapsulation but UIDefaults::removeResourceBundle() doesn't?
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8149879
> Webrev can be found at: 
> http://cr.openjdk.java.net/~serb/8149879/webrev.01
>




More information about the swing-dev mailing list