[
https://issues.jboss.org/browse/JBWS-3714?page=com.atlassian.jira.plugin....
]
Petr Sakař commented on JBWS-3714:
----------------------------------
One more fix ix needed:
{noformat}
Index:
modules/testsuite/shared-tests/src/test/java/org/jboss/test/helper/TestServlet.java
===================================================================
---
modules/testsuite/shared-tests/src/test/java/org/jboss/test/helper/TestServlet.java (revision
17948)
+++
modules/testsuite/shared-tests/src/test/java/org/jboss/test/helper/TestServlet.java (working
copy)
@@ -36,7 +36,7 @@
import javax.servlet.http.HttpServletResponse;
/**
- *
+ *
* @author alessio.soldano(a)jboss.com
* @since 01-Apr-2011
*
@@ -59,9 +59,9 @@
{
ClientHelper helper = (ClientHelper)
Class.forName(helperClassName).newInstance();
String jbossBindAddress = System.getProperty("jboss.bind.address",
"localhost");
- if (jbossBindAddress.startsWith(":"))
+ if (jbossBindAddress.contains(":"))
{
- jbossBindAddress = "[" + jbossBindAddress + "]";
+ jbossBindAddress = "[" + jbossBindAddress + "]";
}
helper.setTargetEndpoint("http://" + jbossBindAddress +
":8080" + path);
List<String> failedTests = new LinkedList<String>();
@@ -116,7 +116,7 @@
throw new ServletException(e);
}
}
-
+
private void invokeMethod(Method m, ClientHelper helper, List<String>
failedTests, List<String> errorTests) throws ServletException
{
try
{noformat}
Fix test support classes for use with non compressed-zero format IPv6
addresses
-------------------------------------------------------------------------------
Key: JBWS-3714
URL:
https://issues.jboss.org/browse/JBWS-3714
Project: JBoss Web Services
Issue Type: Task
Security Level: Public(Everyone can see)
Components: jbossws-cxf
Reporter: Alessio Soldano
Assignee: Alessio Soldano
Fix For: jbossws-cxf-4.2.2
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira