Unlikely, I can look at it not earlier than next week.
If you want to find out yourself you need to debug
org.jboss.webservice.deployment.TypeMappingDescription
| /**
| * Load the javaType with the given class loader.
| */
| public Class loadJavaType(ClassLoader cl)
| {
| Class typeClass = null;
| String componentType = null;
| try
| {
| boolean isArrayType = javaType.endsWith("[]");
|
| if (isArrayType)
| componentType = javaType.substring(0, javaType.indexOf("["));
| else
| componentType = javaType;
|
|
| // Array classes do not exist in the wild. They only exist after
loading the component
| // class type, and in 1.4.2 they are not created via the
ClassLoader.loadClass call
| //
http://developer.java.sun.com/developer/bugParade/bugs/4976356.html
| if (isArrayType)
| {
| if (JavaUtils.isJavaKeyword(componentType))
| {
| String className = JavaUtils.getLoadableClassName(javaType);
| typeClass =
ClassLoader.getSystemClassLoader().loadClass(className);
| }
| else
| {
| // load the component first
| Class.forName(componentType, true, cl);
|
| String className = JavaUtils.getLoadableClassName(javaType);
| typeClass = Class.forName(className, true, cl);
| }
| }
|
| if (isArrayType == false)
| {
| if (JavaUtils.isJavaKeyword(javaType))
| {
| typeClass = getPrimitiveClass(javaType);
| }
| else
| {
| typeClass = cl.loadClass(javaType);
| }
| }
|
| // Now we got the class we can assign the serializer/deserializer
| initSerializerForClass(typeClass);
|
| }
| catch (ClassNotFoundException ignore)
| {
| log.warn("Class not found: " + javaType);
| }
| catch (NoClassDefFoundError ignore)
| {
| log.warn("No class definition for " + javaType);
| }
|
| return typeClass;
| }
|
especially what URLs are associated with the given class loader.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861690#3861690
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861690
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user