You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2007/04/08 16:03:47 UTC

svn commit: r526559 - /webservices/axis2/branches/java/1_2/modules/jaxws/test/org/apache/axis2/jaxws/misc/JAXBContextTest.java

Author: dims
Date: Sun Apr  8 07:03:46 2007
New Revision: 526559

URL: http://svn.apache.org/viewvc?view=rev&rev=526559
Log:
m2/surefire does not set the tccl

Modified:
    webservices/axis2/branches/java/1_2/modules/jaxws/test/org/apache/axis2/jaxws/misc/JAXBContextTest.java

Modified: webservices/axis2/branches/java/1_2/modules/jaxws/test/org/apache/axis2/jaxws/misc/JAXBContextTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/jaxws/test/org/apache/axis2/jaxws/misc/JAXBContextTest.java?view=diff&rev=526559&r1=526558&r2=526559
==============================================================================
--- webservices/axis2/branches/java/1_2/modules/jaxws/test/org/apache/axis2/jaxws/misc/JAXBContextTest.java (original)
+++ webservices/axis2/branches/java/1_2/modules/jaxws/test/org/apache/axis2/jaxws/misc/JAXBContextTest.java Sun Apr  8 07:03:46 2007
@@ -57,7 +57,8 @@
         context3.add("org.test.addnumbers");
         context3.add("org.test.anytype");
         context3.add("my.grandma.loves.jaxws");
-        
+
+        Thread.currentThread().setContextClassLoader(JAXBContextTest.class.getClassLoader());
         JAXBContext jaxbContext3 = JAXBUtils.getJAXBContext(context3);
         
         // The following assertion is probably true,but GC may have wiped out the weak reference



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