You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2013/07/24 12:15:49 UTC

[jira] [Commented] (OWB-887) Ambigious resolution with this two producers: Map and Map

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

Mark Struberg commented on OWB-887:
-----------------------------------

can you please try with OWB-1.2.1-SNAPSHOT?
Imo this should have been fixed already.
                
> Ambigious resolution with this two producers: Map<X,Y> and Map<X,Z>
> -------------------------------------------------------------------
>
>                 Key: OWB-887
>                 URL: https://issues.apache.org/jira/browse/OWB-887
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: 1.1.8
>         Environment: J2SE JDK 1.7
>            Reporter: Denis Forveille
>         Attachments: Test6.zip
>
>
> With those two producers:
>    @Produces public Map<String, String> getMap1() {...}
>    @Produces public Map<String, Integer> getMap2() {...}
> And this IP:
>    @Inject private Map<String, String> mapStringString;
> OWB 1.1.8 fail to start with an "Ambigious resolution" exception
> (See the attached project)
> This problem has been initially detected in WebSphere v8.5.5.0 and IBM provided a fix for WebSphere (that includes OWB) under reference PM79995 : http://www-01.ibm.com/support/docview.wss?uid=swg1PM79995
> Has this iFix been ported back in OWB and if so, in what version?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira