[webbeans-issues] [JBoss JIRA] Assigned: (WBRI-173) Instance.get() is passing @Obtains binding type to Manager.getInstanceByType()
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Mar 19 19:08:22 EDT 2009
[ https://jira.jboss.org/jira/browse/WBRI-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir reassigned WBRI-173:
------------------------------
Assignee: Pete Muir
> Instance.get() is passing @Obtains binding type to Manager.getInstanceByType()
> ------------------------------------------------------------------------------
>
> Key: WBRI-173
> URL: https://jira.jboss.org/jira/browse/WBRI-173
> Project: Web Beans
> Issue Type: Bug
> Affects Versions: 1.0.0.BETA1
> Reporter: Shane Bryzak
> Assignee: Pete Muir
> Priority: Minor
> Fix For: 1.0.0.PREVIEW
>
>
> Section 5.8 of the spec states:
> " The get() method of the provided implementation of Instance must call Manager.getInstanceByType(), passing the following
> parameters:
> * all bindings declared at the injection point, except @Obtains"
> It seems to be passing the @Obtains binding as well, as evidenced by the following test failure:
> javax.inject.UnsatisfiedDependencyException: class sun.reflect.generics.reflectiveObjects.TypeVariableImpl; binding types = [@Obtains, @PayBy]Unable to resolve any Web Beans
> at org.jboss.webbeans.ManagerImpl.getBeanByType(ManagerImpl.java:755)
> at org.jboss.webbeans.ManagerImpl.getInstanceByType(ManagerImpl.java:747)
> at org.jboss.webbeans.ManagerImpl.getInstanceByType(ManagerImpl.java:718)
> at org.jboss.webbeans.InstanceImpl.get(InstanceImpl.java:60)
> at org.jboss.jsr299.tck.tests.lookup.dynamic.DynamicLookupTest.testObtainsAllowsAdditionalBindings(DynamicLookupTest.java:38)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list