ws-axis-cvs 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/message MessageElement.java
Date Sat, 11 Jun 2005 01:42:27 GMT
dims        2005/06/10 18:42:27

  Modified:    java/src/org/apache/axis/message MessageElement.java
  Log:
  Possible fix for AXIS-1903 - IncompatibleClassChangeError when deploying Axis 1.2-RC3 on
WebSphere 5.1 with PARENT_FIRST classloading
  
  Revision  Changes    Path
  1.199     +4 -0      ws-axis/java/src/org/apache/axis/message/MessageElement.java
  
  Index: MessageElement.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/MessageElement.java,v
  retrieving revision 1.198
  retrieving revision 1.199
  diff -u -r1.198 -r1.199
  --- MessageElement.java	9 Jun 2005 16:36:27 -0000	1.198
  +++ MessageElement.java	11 Jun 2005 01:42:27 -0000	1.199
  @@ -1388,6 +1388,10 @@
               Text text = getOwnerDocument().createTextNode(s);
               ((org.apache.axis.message.Text)text).setParentElement(this);
               return this;
  +        } catch (java.lang.IncompatibleClassChangeError e) {
  +            Text text = new org.apache.axis.message.Text(s);
  +            this.appendChild(text);
  +            return this;
           } catch (ClassCastException e) {
               throw new SOAPException(e);
           }
  
  
  

Mime
View raw message