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.
  - Will it break existed applications?
- Is it a common case that some applications register resource bundles from JDK? - What is the reason that resource bundles from JDK are not supposed to be registered by external applications? - Is it applicable for all JDK bundles or it should be allowed to load bundles for public L&Fs like Metal and not for internal (Windows)? - Was there the similar issue before the modularization? For example an application is not supposed to load internal Java resource bundles if the security manager is set.

  Thanks,
  Alexandr.


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