axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r556714 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/JAXBBlockImpl.java
Date Mon, 16 Jul 2007 20:07:32 GMT
Author: scheu
Date: Mon Jul 16 13:07:30 2007
New Revision: 556714

URL: http://svn.apache.org/viewvc?view=rev&rev=556714
Log:
Contributor:Rich Scheuerle
Quick fix to not close the parser when marshalling a JAXB Object

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/JAXBBlockImpl.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/JAXBBlockImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/JAXBBlockImpl.java?view=diff&rev=556714&r1=556713&r2=556714
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/JAXBBlockImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/impl/JAXBBlockImpl.java
Mon Jul 16 13:07:30 2007
@@ -129,7 +129,10 @@
 
             // Successfully unmarshalled the object
             JAXBUtils.releaseJAXBUnmarshaller(ctx.getJAXBContext(), u);
-            reader.close();
+            
+            // Don't close the reader.  The reader is owned by the caller, and it
+            // may contain other xml instance data (other than this JAXB object)
+            // reader.close();
             return jaxb;
         } catch (JAXBException je) {
             if (DEBUG_ENABLED) {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message