[jbossws-issues] [JBoss JIRA] (JBWS-3714) Fix test support classes for use with non compressed-zero format IPv6 addresses

Petr Sakař (JIRA) jira-events at lists.jboss.org
Fri Oct 18 02:23:01 EDT 2013


    [ https://issues.jboss.org/browse/JBWS-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12823080#comment-12823080 ] 

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 at 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



More information about the jbossws-issues mailing list