cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1053043 - /cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java
Date Mon, 27 Dec 2010 11:12:19 GMT
Author: ningjiang
Date: Mon Dec 27 11:12:19 2010
New Revision: 1053043

URL: http://svn.apache.org/viewvc?rev=1053043&view=rev
Log:
Fixed the PolicyAnnotationTest error in JDK 1.5

Modified:
    cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java

Modified: cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java?rev=1053043&r1=1053042&r2=1053043&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java
(original)
+++ cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java
Mon Dec 27 11:12:19 2010
@@ -53,6 +53,8 @@ public class PolicyAnnotationTest extend
 
     @org.junit.Test
     public void testAnnotations() throws Exception {
+        // Need to clean up the Default Bus instance frist
+        BusFactory.setDefaultBus(null);
         Bus bus = BusFactory.getDefaultBus();
         JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
         factory.setBus(bus);



Mime
View raw message