8043153: KSS: javax.swing.plaf.synth.SynthParser#startColor
authormalenkov
Fri, 16 May 2014 15:57:06 +0400
changeset 25089 e032b0161576
parent 25088 8d4b058368f0
child 25090 83a78ff886e6
8043153: KSS: javax.swing.plaf.synth.SynthParser#startColor Reviewed-by: alexsch, serb
jdk/src/share/classes/javax/swing/plaf/synth/SynthParser.java
--- a/jdk/src/share/classes/javax/swing/plaf/synth/SynthParser.java	Fri May 16 15:51:57 2014 +0400
+++ b/jdk/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: " +