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 E18E79F00 for ; Fri, 16 Dec 2011 22:52:23 +0000 (UTC) Received: (qmail 48935 invoked by uid 500); 16 Dec 2011 22:52:23 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 48897 invoked by uid 500); 16 Dec 2011 22:52:23 -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 48880 invoked by uid 99); 16 Dec 2011 22:52:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 22:52:23 +0000 X-ASF-Spam-Status: No, hits=-2001.5 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; Fri, 16 Dec 2011 22:42:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D4DEA117C76 for ; Fri, 16 Dec 2011 22:42:30 +0000 (UTC) Date: Fri, 16 Dec 2011 22:42:30 +0000 (UTC) From: "Sergey Beryozkin (Resolved) (JIRA)" To: issues@cxf.apache.org Message-ID: <1082811937.21100.1324075350873.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1667536858.59061.1306921787400.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (DOSGI-95) CLONE - org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should search through super class interfaces too 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/DOSGI-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved DOSGI-95. ----------------------------------- Resolution: Duplicate Fix Version/s: 1.3 Patch is available in DOSGI-94 > CLONE - org.apache.cxf.dosgi.dsw.ClassUtils#getInterfaceClass() method should search through super class interfaces too > ----------------------------------------------------------------------------------------------------------------------- > > Key: DOSGI-95 > URL: https://issues.apache.org/jira/browse/DOSGI-95 > Project: CXF Distributed OSGi > Issue Type: Bug > Environment: any > Reporter: Michal Kutyla > Assignee: Sergey Beryozkin > Priority: Minor > Fix For: 1.3, 1.2 > > > The solution applied to the original issue is not fully correct. > It will work if service interface is extended by other INTERFACE(so does in example with ArrayList and Collection). > It won't work if service interface is implemented by super CLASS. > I couldn't find example in JDK so imagine that you have: > class A extends B {...} > class B implements C {...} > interface C {...} > Now, when you call ClassUtils.getInterfaceClass(new A(), "C") it will return null. > A workaround for this issue is to declare: > class A extends B implements C {...}. -- 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