Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0FF9C194 for ; Fri, 4 May 2012 09:41:13 +0000 (UTC) Received: (qmail 60945 invoked by uid 500); 4 May 2012 09:41:13 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 60436 invoked by uid 500); 4 May 2012 09:41:13 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 59821 invoked by uid 99); 4 May 2012 09:41:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2012 09:41:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Fri, 04 May 2012 09:41:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F0DBF430FF8 for ; Fri, 4 May 2012 09:40:48 +0000 (UTC) Date: Fri, 4 May 2012 09:40:48 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: <6689059.26330.1336124448996.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1436216626.15189.1335911093943.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-4281) uribuilder from null? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268226#comment-13268226 ] Sergey Beryozkin commented on CXF-4281: --------------------------------------- > UriBuilder.fromUri("http://foo:1234").scheme(null).build().getRawSchemeSpecificPart() != null I don't even know what that is supposed to produce, but UriBuilder does allow it. I can imagine using UriBuilder.scheme() in combination with UriBuilder.schemeSpecificPart, when building a uri from scratch. What do you think UriBuilder.fromUri("http://foo:1234").scheme(null).build() should produce ? I'd consider throwing IllegalArgumentException in cases where the scheme and schemeSpecificParts have already been initialized from the existing URI > uribuilder from null? > --------------------- > > Key: CXF-4281 > URL: https://issues.apache.org/jira/browse/CXF-4281 > Project: CXF > Issue Type: Bug > Reporter: Romain Manni-Bucau > > in tomee/openejb we need to patch the uri builder to be able to satisfied some cases (UriBuilder.fromPath(null) for instance) > here is the patched builder working for us: http://svn.apache.org/repos/asf/openejb/trunk/openejb/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/OpenEJBRuntimeDelegateImpl.java > any way to get it merged with cxf? -- 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