aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1500) Fix wildcard types support
Date Wed, 09 Mar 2016 15:22:40 GMT

    [ https://issues.apache.org/jira/browse/ARIES-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187234#comment-15187234
] 

ASF subversion and git services commented on ARIES-1500:
--------------------------------------------------------

Commit 1734265 from [~gnt] in branch 'aries/trunk'
[ https://svn.apache.org/r1734265 ]

[ARIES-1500] Fix parsing of wildcard types

> Fix wildcard types support
> --------------------------
>
>                 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
>            Assignee: Guillaume Nodet
>             Fix For: blueprint-core-1.6.0
>
>         Attachments: org.apache.aries.blueprint.core-1.6.0-SNAPSHOT.jar
>
>
> Let's take a bean with the method setSomething(Something<T>) 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)

Mime
View raw message