axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/encoding/ser ArrayDeserializer.java
Date Mon, 15 Sep 2003 18:41:25 GMT
dims        2003/09/15 11:41:25

  Modified:    java/src/org/apache/axis/encoding/ser ArrayDeserializer.java
  Log:
  Fix for Bug 23076 - ArryDeserializer does not use proper classloader
  from holstege@mathling.com (Mary Holstege)
  
  Revision  Changes    Path
  1.40      +5 -4      ws-axis/java/src/org/apache/axis/encoding/ser/ArrayDeserializer.java
  
  Index: ArrayDeserializer.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/ser/ArrayDeserializer.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- ArrayDeserializer.java	5 Sep 2003 17:58:52 -0000	1.39
  +++ ArrayDeserializer.java	15 Sep 2003 18:41:24 -0000	1.40
  @@ -288,10 +288,11 @@
               getClassForQName(compQName);
           if (arrayItemClass != null) {
               try {
  -                arrayClass = ClassUtils.forName(
  -                  JavaUtils.getLoadableClassName(
  -                    JavaUtils.getTextClassName(arrayItemClass.getName()) +
  -                    dims));
  +                String loadableArrayClassName = JavaUtils.getLoadableClassName(
  +                                                    JavaUtils.getTextClassName(arrayItemClass.getName())
+ dims);
  +                arrayClass = ClassUtils.forName(loadableArrayClassName,
  +                                                    true,
  +                                                    arrayItemClass.getClassLoader());
               } catch (Exception e) {
                   throw new SAXException(
                      Messages.getMessage("noComponent00",  
  
  
  

Mime
View raw message