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


Reply via email to