[jboss-cvs] JBossAS SVN: r114810 - branches/JBPAPP_5_1_2_GA_JBPAPP-11150/webservices/src/main/org/jboss/wsf/container/jboss50/invocation.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri May 9 17:50:45 EDT 2014
Author: klape
Date: 2014-05-09 17:50:45 -0400 (Fri, 09 May 2014)
New Revision: 114810
Modified:
branches/JBPAPP_5_1_2_GA_JBPAPP-11150/webservices/src/main/org/jboss/wsf/container/jboss50/invocation/InvocationHandlerJSE.java
Log:
[JBPAPP-11150] Try using ws impl's CL to load param types
Modified: branches/JBPAPP_5_1_2_GA_JBPAPP-11150/webservices/src/main/org/jboss/wsf/container/jboss50/invocation/InvocationHandlerJSE.java
===================================================================
--- branches/JBPAPP_5_1_2_GA_JBPAPP-11150/webservices/src/main/org/jboss/wsf/container/jboss50/invocation/InvocationHandlerJSE.java 2014-05-09 21:49:41 UTC (rev 114809)
+++ branches/JBPAPP_5_1_2_GA_JBPAPP-11150/webservices/src/main/org/jboss/wsf/container/jboss50/invocation/InvocationHandlerJSE.java 2014-05-09 21:50:45 UTC (rev 114810)
@@ -137,7 +137,15 @@
if (JavaUtils.isPrimitive(paramType) == false)
{
String paramTypeName = paramType.getName();
- paramType = JavaUtils.loadJavaType(paramTypeName);
+ try
+ {
+ paramType = JavaUtils.loadJavaType(paramTypeName);
+ }
+ catch(Exception e)
+ {
+ //TCCL might not have the class for some reason...
+ paramType = JavaUtils.loadJavaType(paramTypeName, implClass.getClassLoader());
+ }
paramTypes[i] = paramType;
}
}
More information about the jboss-cvs-commits
mailing list