Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-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 25F5FD85F for ; Thu, 13 Dec 2012 08:15:24 +0000 (UTC) Received: (qmail 61151 invoked by uid 500); 13 Dec 2012 08:15:23 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 60470 invoked by uid 500); 13 Dec 2012 08:15:22 -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 60323 invoked by uid 99); 13 Dec 2012 08:15:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 08:15:21 +0000 Date: Thu, 13 Dec 2012 08:15:20 +0000 (UTC) From: =?utf-8?Q?G=C3=B6kt=C3=BCrk_Gezer_=28JIRA=29?= To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-3812) constructor injection does not work for properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-3812?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1353= 0781#comment-13530781 ]=20 G=C3=B6kt=C3=BCrk Gezer commented on FELIX-3812: -------------------------------------- iPojo is not reflection based, it's also using ASM. As you said, it's possi= ble only with debug info or 3th party like "paranamer", otherwise parameter= names are not included in byte code. I could add a little fix for classes with debug info, but It didn't seem to= me a good thing to do. You're absolutely right about the error message, I'll make it fixed ASAP. =20 > constructor injection does not work for properties > -------------------------------------------------- > > Key: FELIX-3812 > URL: https://issues.apache.org/jira/browse/FELIX-3812 > Project: Felix > Issue Type: Bug > Components: iPOJO > Affects Versions: ipojo-core-1.8.2, ipojo-core-1.8.4 > Reporter: Daan de Wit > Assignee: G=C3=B6kt=C3=BCrk Gezer > > Constructor injection does not work for properties, iPOJO tries to find a= constructor that also has an InstanceManager-argument.=20 > createInstance -> Cannot invoke the constructor (method not found) : pack= age.ClassName.(org.apache.felix.ipojo.InstanceManager, null) > java.lang.NoSuchMethodException: package.ClassName.(org.apache.feli= x.ipojo.InstanceManager, null) > =09at java.lang.Class.getConstructor0(Class.java:2706) > =09at java.lang.Class.getDeclaredConstructor(Class.java:1985) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira