7186948: Improve Swing data validation

Reviewed-by: art, ahgross
This commit is contained in:
Pavel Porvatov 2012-10-16 14:13:39 +04:00
parent c4f31fd22e
commit e2a34e4d9e

View File

@ -677,6 +677,8 @@ public class UIDefaults extends Hashtable<Object,Object>
try {
String className = (String)get(uiClassID);
if (className != null) {
ReflectUtil.checkPackageAccess(className);
Class cls = (Class)get(className);
if (cls == null) {
if (uiClassLoader == null) {