cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1509251 - /cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java
Date Thu, 01 Aug 2013 14:30:26 GMT
Author: dkulp
Date: Thu Aug  1 14:30:25 2013
New Revision: 1509251

URL: http://svn.apache.org/r1509251
Log:
[CXF-5163] Fix test failure with Java6/JAXB 2.1

Modified:
    cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java

Modified: cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java?rev=1509251&r1=1509250&r2=1509251&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java
(original)
+++ cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java
Thu Aug  1 14:30:25 2013
@@ -455,8 +455,9 @@ public class JAXBEncoderDecoderTest exte
         part.setElementQName(elName);
         part.setTypeClass(OrderException.class);
             
+        //just need a simple generic context to handle the exceptions internal primitives
         JAXBContext exceptionContext = JAXBContext.newInstance(new Class[] {
-            OrderException.class,
+            String.class,
         });
         JAXBEncoderDecoder.marshallException(exceptionContext.createMarshaller(), exception,
part, elNode);
         



Mime
View raw message