[jbosstools-issues] [JBoss JIRA] (JBIDE-12433) Wrong as-you-type validation for injection points with type InjectionPoint

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Aug 15 21:14:14 EDT 2012


Alexey Kazakov created JBIDE-12433:
--------------------------------------

             Summary: Wrong as-you-type validation for injection points with type InjectionPoint
                 Key: JBIDE-12433
                 URL: https://issues.jboss.org/browse/JBIDE-12433
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: CDI
    Affects Versions: 3.4.0.M1
            Reporter: Alexey Kazakov
            Assignee: Viacheslav Kabanovich
             Fix For: 3.4.0.M1


1. Import projects tck-parent, tck-child and tck from https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.core.test/projects
2. Copy https://svn.jboss.org/repos/jbosstools/trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck to <tck>/JavaSource/org/jboss/jsr299
3. Open class org.jboss.jsr299.tck.tests.implementation.producer.method.broken.parameterizedTypeWithTypeParameter2.TProducer
4. There the only error marker:
"Producer method return type cannot be a type variable [JSR-299 §3.3]"
5. Add a space to the end of the file (don't save the file).
6. Now there are one more problem on "InjectionPoint point":
"No bean is eligible for injection to the injection point [JSR-299 §5.2.1]". This is a bug.

Failed tests: testParameterizedType(org.jboss.tools.cdi.core.test.tck.validation.AYTDefenitionErrorsValidationTest): The number of markers doesn't equal to the number of AYT messages for L/tck/JavaSource/org/jboss/jsr299/tck/tests/implementation/producer/method/broken/parameterizedTypeWithTypeParameter2/TProducer.java.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list