[JBoss JIRA] Created: (JBIDE-6425) Bean type may be an array.
by Alexey Kazakov (JIRA)
Bean type may be an array.
--------------------------
Key: JBIDE-6425
URL: https://jira.jboss.org/browse/JBIDE-6425
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.next
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.2.0.M1
For example:
class SpiderProducer {
@Produces public Spider[] getSpiders() {...}
}
public class CrabSpider extends Spider {...}
then IBeanManager.getBeans() for [QSpider; should return this producer method and should not return CrabSpider bean since it doesn't have Spider[] type.
ResolutionByTypeTest.testResolveByTypeWithArray() should pass.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-6401) Don't take into account annotation members of a qualifier which is not annotated @javax.enterprise.util.NonBinding in bean resolving.
by Alexey Kazakov (JIRA)
Don't take into account annotation members of a qualifier which is not annotated @javax.enterprise.util.NonBinding in bean resolving.
-------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-6401
URL: https://jira.jboss.org/browse/JBIDE-6401
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.next
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.2.next
For example we have the following injection point:
@Inject @Expensive(cost=60, veryExpensive=true) Animal animal;
Where:
...
@Qualifier
@interface Expensive {
boolean veryExpensive();
@Nonbinding int cost();
}
Then both following beans match:
@Expensive(cost=50, veryExpensive=true)
class Halibut implements Animal {...}
@Expensive(cost=60, veryExpensive=true)
class RoundWhitefish implements Animal {...}
But this bean doesn't:
@Expensive(veryExpensive = false, cost = 50)
class Sole implements Animal {...}
org.jboss.tools.cdi.core.test.tck.ResolutionByTypeTest.testResolveByTypeWithNonBindingMembers() should pass.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-6391) The method findInjectionPoint(Set<IBean>, IJavaElement, int) in the type CDIUtil is not applicable for the arguments (Set<IBean>, IJavaElement)
by Nick Boldt (JIRA)
The method findInjectionPoint(Set<IBean>, IJavaElement, int) in the type CDIUtil is not applicable for the arguments (Set<IBean>, IJavaElement)
-----------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-6391
URL: https://jira.jboss.org/browse/JBIDE-6391
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2-Helios
Reporter: Nick Boldt
Assignee: Max Rydahl Andersen
[java] [javac] 7. ERROR in /qa/hudson_ws/workspace/devstudio-nightly-4.0/jbds-build/eclipse/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/search/InjectionPointQueryParticipant.java (at line 83)
[java] [javac] IInjectionPoint injectionPoint = CDIUtil.findInjectionPoint(beans, element);
[java] [javac] ^^^^^^^^^^^^^^^^^^
[java] [javac] The method findInjectionPoint(Set<IBean>, IJavaElement, int) in the type CDIUtil is not applicable for the arguments (Set<IBean>, IJavaElement)
http://hudson.qa.jboss.com/hudson/view/DevStudio/job/devstudio-nightly-4....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months