[jbosstools-issues] [JBoss JIRA] (JBIDE-12423) As-you-type validation works wrong for specialized beans
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Mon Aug 13 19:17:14 EDT 2012
Alexey Kazakov created JBIDE-12423:
--------------------------------------
Summary: As-you-type validation works wrong for specialized beans
Key: JBIDE-12423
URL: https://issues.jboss.org/browse/JBIDE-12423
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.jbt.validation.specialization.MissingTypeBeanBroken
4. There the only error marker:
"Bean MissingTypeBeanBroken specializes Farmer but does not have bean type(s): Farmer, Simple of bean Farmer [JSR-299 §4.3.1]"
5. Modify the file.
6. Now there are one more problem on @Specializes:
"There are a few enabled beans (MissingTypeBeanBroken, MissingTypeBeanBroken) that specialize the same bean Farmer [JSR-299 §5.1.3]". This is a bug.
Failed tests: testBeanDoesNotHaveSomeTypeOfSpecializedBean(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/jbt/validation/specialization/MissingTypeBeanBroken.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