8043153: KSS: javax.swing.plaf.synth.SynthParser#startColor
Reviewed-by: alexsch, serb
--- 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: " +