Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 128FD200BD7 for ; Sun, 11 Dec 2016 08:38:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 112D4160B2C; Sun, 11 Dec 2016 07:38:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 802BC160B20 for ; Sun, 11 Dec 2016 08:37:59 +0100 (CET) Received: (qmail 75237 invoked by uid 500); 11 Dec 2016 07:37:58 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 75216 invoked by uid 99); 11 Dec 2016 07:37:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Dec 2016 07:37:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7F2B62C03E1 for ; Sun, 11 Dec 2016 07:37:58 +0000 (UTC) Date: Sun, 11 Dec 2016 07:37:58 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-4419) Multiple inharitance levels with generics cause ClassCastException when JPA is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 11 Dec 2016 07:38:00 -0000 [ https://issues.apache.org/jira/browse/KARAF-4419?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated KARAF-4419: ---------------------------------------- Fix Version/s: (was: 4.0.8) 4.0.9 > Multiple inharitance levels with generics cause ClassCastException when J= PA is enabled > -------------------------------------------------------------------------= ------------- > > Key: KARAF-4419 > URL: https://issues.apache.org/jira/browse/KARAF-4419 > Project: Karaf > Issue Type: Bug > Affects Versions: 4.0.4 > Environment: Win 7 x64, JDK 1.8.0_73, Karaf 4.0.4 > Reporter: Felix Wassmer > Fix For: 4.1.0, 4.0.9 > > > I'm using inheritance with generics over multiple levels. > Injecting properties to those beans works fine, but on access of a proper= ty of the lowest class, there is a ClassCastException thrown. > I could narrow it down to enabling JPA in the blueprint causing the issue= : > When disabling JPA, the proper bean class is resolved, > enabled the type resolving stopped at the parent abstract class of the ex= pected class, thus throwing a ClassCastException. > Example project to reproduce this issue: > https://github.com/fwassmer/inheritance -- This message was sent by Atlassian JIRA (v6.3.4#6332)