gdaniels 02/02/07 10:16:39
Modified: java/src/org/apache/axis/deployment/wsdd
WSDDTypeMapping.java
Log:
Use Class.forName() instead of explicitly loading through the classloader,
so we deal correctly with Array types, which are handled specially by the
JVM.
Revision Changes Path
1.21 +1 -1
xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDTypeMapping.java
Index: WSDDTypeMapping.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDTypeMapping.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- WSDDTypeMapping.java 31 Jan 2002 21:53:22 -0000 1.20
+++ WSDDTypeMapping.java 7 Feb 2002 18:16:39 -0000 1.21
@@ -227,7 +227,7 @@
}
String loadName =
JavaUtils.getLoadableClassName(typeQName.getLocalPart());
ClassLoader cl = Thread.currentThread().getContextClassLoader();
- return cl.loadClass(loadName);
+ return Class.forName(loadName, true, cl);
}
throw new ClassNotFoundException(JavaUtils.getMessage("noTypeQName00"));