You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2020/07/10 06:33:13 UTC
[cxf] branch master updated: Removing old test-case code for JDK 1.6
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new d042106 Removing old test-case code for JDK 1.6
d042106 is described below
commit d0421064a69b714383b0c46c3e1d666ee14e942a
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Fri Jul 10 07:32:49 2020 +0100
Removing old test-case code for JDK 1.6
---
.../apache/cxf/systest/mtom/ClientMtomXopTest.java | 32 ----------------------
1 file changed, 32 deletions(-)
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/systest/mtom/ClientMtomXopTest.java b/systests/uncategorized/src/test/java/org/apache/cxf/systest/mtom/ClientMtomXopTest.java
index e96a21f..f80974d 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/systest/mtom/ClientMtomXopTest.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/systest/mtom/ClientMtomXopTest.java
@@ -202,14 +202,6 @@ public class ClientMtomXopTest extends AbstractBusClientServerTestBase {
} catch (UndeclaredThrowableException ex) {
throw (Exception)ex.getCause();
} catch (Exception ex) {
- if (ex.getMessage().contains("Connection reset")
- && System.getProperty("java.specification.version", "1.5").contains("1.6")) {
- //There seems to be a bug/interaction with Java 1.6 and Jetty where
- //Jetty will occasionally send back a RST prior to all the data being
- //sent back to the client when using localhost (which is what we do)
- //we'll ignore for now
- return;
- }
System.out.println(System.getProperties());
throw ex;
}
@@ -344,14 +336,6 @@ public class ClientMtomXopTest extends AbstractBusClientServerTestBase {
} catch (UndeclaredThrowableException ex) {
throw (Exception)ex.getCause();
} catch (Exception ex) {
- if (ex.getMessage().contains("Connection reset")
- && System.getProperty("java.specification.version", "1.5").contains("1.6")) {
- //There seems to be a bug/interaction with Java 1.6 and Jetty where
- //Jetty will occasionally send back a RST prior to all the data being
- //sent back to the client when using localhost (which is what we do)
- //we'll ignore for now
- return;
- }
System.out.println(System.getProperties());
throw ex;
}
@@ -380,14 +364,6 @@ public class ClientMtomXopTest extends AbstractBusClientServerTestBase {
} catch (UndeclaredThrowableException ex) {
throw (Exception)ex.getCause();
} catch (Exception ex) {
- if (ex.getMessage().contains("Connection reset")
- && System.getProperty("java.specification.version", "1.5").contains("1.6")) {
- //There seems to be a bug/interaction with Java 1.6 and Jetty where
- //Jetty will occasionally send back a RST prior to all the data being
- //sent back to the client when using localhost (which is what we do)
- //we'll ignore for now
- return;
- }
System.out.println(System.getProperties());
ex.printStackTrace();
throw ex;
@@ -416,14 +392,6 @@ public class ClientMtomXopTest extends AbstractBusClientServerTestBase {
} catch (UndeclaredThrowableException ex) {
throw (Exception)ex.getCause();
} catch (Exception ex) {
- if (ex.getMessage().contains("Connection reset")
- && System.getProperty("java.specification.version", "1.5").contains("1.6")) {
- //There seems to be a bug/interaction with Java 1.6 and Jetty where
- //Jetty will occasionally send back a RST prior to all the data being
- //sent back to the client when using localhost (which is what we do)
- //we'll ignore for now
- return;
- }
System.out.println(System.getProperties());
throw ex;
}