changeset 10110:265803091731

8043153: KSS: javax.swing.plaf.synth.SynthParser#startColor Reviewed-by: alexsch, serb
author malenkov
date Fri, 16 May 2014 15:57:06 +0400
parents 188150b29476
children 46170b8aaccc
files src/share/classes/javax/swing/plaf/synth/SynthParser.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/plaf/synth/SynthParser.java	Fri May 16 15:51:57 2014 +0400
+++ b/src/share/classes/javax/swing/plaf/synth/SynthParser.java	Fri May 16 15:57:06 2014 +0400
@@ -67,6 +67,7 @@
 import org.xml.sax.helpers.DefaultHandler;
 
 import com.sun.beans.decoder.DocumentHandler;
+import sun.reflect.misc.ReflectUtil;
 
 class SynthParser extends DefaultHandler {
     //
@@ -648,7 +649,7 @@
                     }
                     else {
                         try {
-                            typeClass = Class.forName(typeName.substring(
+                            typeClass = ReflectUtil.forName(typeName.substring(
                                                       0, classIndex));
                         } catch (ClassNotFoundException cnfe) {
                             throw new SAXException("Unknown class: " +