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

[jira] [Resolved] (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:all-tabpanel ]

Denis Forveille resolved OWB-887.
---------------------------------

    Resolution: Fixed

You are right Mark
It works with the latest jenkins build (openwebbeans-<xxx>-1.2.1-20130722.005914-34)
That said, I didn't find the JIRA associated with the correction of the problem (to link it to this JIRA)
                
> 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