Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 37523 invoked from network); 7 Oct 2008 12:20:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Oct 2008 12:20:17 -0000 Received: (qmail 29767 invoked by uid 500); 7 Oct 2008 12:20:05 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 29671 invoked by uid 500); 7 Oct 2008 12:20:05 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 29611 invoked by uid 99); 7 Oct 2008 12:20:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 05:20:04 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 12:19:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 43716234C1E4 for ; Tue, 7 Oct 2008 05:19:44 -0700 (PDT) Message-ID: <268818519.1223381984261.JavaMail.jira@brutus> Date: Tue, 7 Oct 2008 05:19:44 -0700 (PDT) From: "Loris Bouzonnet (JIRA)" To: dev@felix.apache.org Subject: [jira] Closed: (FELIX-697) Generation of a duplicated field when using generics In-Reply-To: <125690053.1219576184448.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-697?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Loris Bouzonnet closed FELIX-697. --------------------------------- Good. Thank you Cl=C3=A9ment! > Generation of a duplicated field when using generics > ---------------------------------------------------- > > Key: FELIX-697 > URL: https://issues.apache.org/jira/browse/FELIX-697 > Project: Felix > Issue Type: Bug > Components: iPOJO > Affects Versions: iPOJO-0.8.0 > Environment: Felix 1.0.4 > Reporter: Loris Bouzonnet > Assignee: Clement Escoffier > Attachments: ipojo-testcase.zip > > > Here an extract of my test case: > In an abstract Class AbsI, I have: > public abstract class AbsI implements I { > [...] > protected abstract T getName(); > public String getPlip() { > return getName().toString(); > } > [...] > } > In a child A: > public class A extends AbsI { > protected String getName() { > return "a"; > } > } > Generated code for A is: > public class A extends AbsI > { > private InstanceManager __IM; > private boolean jdField___MgetName_of_type_Boolean; > private boolean jdField___MgetName_of_type_Boolean; > [...] > } > =3D> jdField___MgetName_of_type_Boolean is duplicated and cannot be loade= d. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.