Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2179C7EDE for ; Tue, 15 Nov 2011 20:17:22 +0000 (UTC) Received: (qmail 10300 invoked by uid 500); 15 Nov 2011 20:17:20 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 10162 invoked by uid 500); 15 Nov 2011 20:17:19 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 10128 invoked by uid 99); 15 Nov 2011 20:17:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 20:17:19 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 20:17:14 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2E454869F5 for ; Tue, 15 Nov 2011 20:16:53 +0000 (UTC) Date: Tue, 15 Nov 2011 20:16:53 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: java-dev@axis.apache.org Message-ID: <498200773.32304.1321388213190.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <326377538.21079.1321018612439.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AXIS2-5182) org.apache.axis2.transport.http.SimpleHTTPServer seems to cast String to QName MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150735#comment-13150735 ] Hudson commented on AXIS2-5182: ------------------------------- Integrated in Axis2 #1107 (See [https://builds.apache.org/job/Axis2/1107/]) Fixed AXIS2-5182 Used proper type to fix Class cast exception issue. sagara : Files : * /axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/SimpleHTTPServer.java > org.apache.axis2.transport.http.SimpleHTTPServer seems to cast String to QName > ------------------------------------------------------------------------------ > > Key: AXIS2-5182 > URL: https://issues.apache.org/jira/browse/AXIS2-5182 > Project: Axis2 > Issue Type: Bug > Components: transports > Affects Versions: 1.6.1 > Reporter: Alexander Veit > Assignee: Sagara Gunathunga > Fix For: 1.5.7, 1.6.2, 1.7.0 > > > SimpleHTTPServer, line 176 > if (startAllTransports) { > Iterator iter = configctx.getAxisConfiguration(). > getTransportsIn().keySet().iterator(); > while (iter.hasNext()) { > QName trp = (QName) iter.next(); // String -> QName > if (!new QName(Constants.TRANSPORT_HTTP).equals(trp)) { > trsIn = (TransportInDescription) > configctx.getAxisConfiguration().getTransportsIn().get(trp); > listenerManager.addListener(trsIn, false); > } > } > } > Axis2 should probably enforce the use of generics throughout the project to avoid such problems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org