Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-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 9AA5618848 for ; Wed, 2 Mar 2016 15:56:18 +0000 (UTC) Received: (qmail 66443 invoked by uid 500); 2 Mar 2016 15:56:18 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 66387 invoked by uid 500); 2 Mar 2016 15:56:18 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 66360 invoked by uid 99); 2 Mar 2016 15:56:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2016 15:56:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3D3972C1F5C for ; Wed, 2 Mar 2016 15:56:18 +0000 (UTC) Date: Wed, 2 Mar 2016 15:56:18 +0000 (UTC) From: "Jean-Philippe CLEMENT (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ARIES-1500) Conversion fails with generics MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jean-Philippe CLEMENT created ARIES-1500: -------------------------------------------- Summary: Conversion fails with generics Key: ARIES-1500 URL: https://issues.apache.org/jira/browse/ARIES-1500 Project: Aries Issue Type: Bug Components: Blueprint Affects Versions: blueprint-core-1.5.0 Environment: All Reporter: Jean-Philippe CLEMENT Let's take a bean with the method setSomething(Something) called via blueprint with another bean implementing Something => exception saying that bean conversion is not possible. But, if I change the method signature without the generic type setSomething(Something), then it works as expected. Blueprint should not care for the generic type as Java is type erasure and do not exceed the spec. There is no nice work around. Have to change all APIs used via Blueprint and take note for all deviations. This is really heavy. -- This message was sent by Atlassian JIRA (v6.3.4#6332)