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 TypeMappingImpl.java
Date Thu, 28 Apr 2005 04:08:30 GMT
dims        2005/04/27 21:08:30

  Modified:    java/src/org/apache/axis/encoding TypeMappingImpl.java
  Log:
  Fix for AXIS-1919 - Deserialization of derived types gets messed up
  
  Revision  Changes    Path
  1.63      +2 -1      ws-axis/java/src/org/apache/axis/encoding/TypeMappingImpl.java
  
  Index: TypeMappingImpl.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/TypeMappingImpl.java,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- TypeMappingImpl.java	21 Mar 2005 15:00:40 -0000	1.62
  +++ TypeMappingImpl.java	28 Apr 2005 04:08:29 -0000	1.63
  @@ -461,7 +461,8 @@
               // deserializer... (sigh)
               if (xmlType != null) {
                   Class actualClass = start.getClassForQName(xmlType);
  -                if (actualClass == componentType)
  +                if (actualClass == componentType ||
  +                    componentType.isAssignableFrom(actualClass))
                       return null;
               }
   
  
  
  

Mime
View raw message