Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12423

As-you-type validation works wrong for specialized beans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Alpha1
    • 4.0.0.Alpha1
    • cdi
    • None

      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.

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: