<Swing Dev> [9] Review Request: 8149879 Examine UIDefaults::addResourceBundle(String bundleName) with resource encapsulation
Alexandr Scherbatiy
alexandr.scherbatiy at oracle.com
Tue Nov 29 14:21:52 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.
- 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
>
More information about the swing-dev
mailing list