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 0599118ADA for ; Mon, 10 Aug 2015 19:54:46 +0000 (UTC) Received: (qmail 23932 invoked by uid 500); 10 Aug 2015 19:54:45 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 23894 invoked by uid 500); 10 Aug 2015 19:54:45 -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 23882 invoked by uid 99); 10 Aug 2015 19:54:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2015 19:54:45 +0000 Date: Mon, 10 Aug 2015 19:54:45 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6515) provider sorting not right 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-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14680663#comment-14680663 ] Sergey Beryozkin commented on CXF-6515: --------------------------------------- Hi Romain - the bus related update goes in the next day or two. Let me clarify once again. I argued a lot about: 1) if the custom provider matches then do not even check the default ones 2) more recently - if a default provider had a non-wildcard @Produces then it does not mean another provider with a wildcard is less specific because it can check a media type in isWriteable/isReadable, but well, in the end of the day, I had to this change, I think it is positive in its own way that CXF will now pass some remaining TCK tests it used to fail otherwise, and the workaround about some situations are possible. We have a custom provider - I'm still curious why you see some strange results there :-), please investigate. The bus update will go shortly. The custom providers which extend AbstractConfiurableProvider can do a very specific Consumes/Produces and the runtime will respect that. Narrowing down Produces/Consumes is most likely a needed compromise...Overall I reckon we can manage the situation well... > provider sorting not right > -------------------------- > > Key: CXF-6515 > URL: https://issues.apache.org/jira/browse/CXF-6515 > Project: CXF > Issue Type: Bug > Reporter: Romain Manni-Bucau > Assignee: Sergey Beryozkin > Fix For: 3.1.3, 3.0.7 > > > Didnt dig too much into it but seems sorting with a custom comparator is not respected, can be linked to 6514, if this 6514 is fixed I'll test again to confirm this one -- This message was sent by Atlassian JIRA (v6.3.4#6332)