changeset 16073 | da699ce2f8d2 |
parent 12287 | 5b5175de639f |
child 20169 | d7fa6d7586c9 |
child 20800 | 1f6b7d81410d |
--- a/jdk/src/share/classes/javax/swing/UIDefaults.java Mon Oct 15 19:00:13 2012 +0400 +++ b/jdk/src/share/classes/javax/swing/UIDefaults.java Tue Oct 16 14:13:39 2012 +0400 @@ -677,6 +677,8 @@ try { String className = (String)get(uiClassID); if (className != null) { + ReflectUtil.checkPackageAccess(className); + Class cls = (Class)get(className); if (cls == null) { if (uiClassLoader == null) {