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

Mandy Chung mandy.chung at oracle.com
Tue Dec 20 16:41:56 UTC 2016


> On Dec 20, 2016, at 8:24 AM, Sergey Bylokhov <sergey.bylokhov at oracle.com> wrote:
> 
>>>> If this private data can be loaded to the UIDefaults or to other class then it will be read anyway. Are the Swing/AWT properties files content really secret?
>>> My point is that there are no secrets, but the bug description states that such bundles can be added some day later.
>> But what secret can be here?
> 
> I think Mandy can clarify that.


The API should only allow user code to request adding a resource bundle that is accessible to the user.   A private resource bundle in java.desktop that may contain security sensitive information  is not intended to be registered in UIDefaults and of course it should be encapsulated.  You may think that today there is no security sensitive information but we can’t guarantee until an audit to all resource bundles is done and also continuously for every change is made.

Mandy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20161220/763eaf47/attachment.html>


More information about the swing-dev mailing list