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

Incremental Seam Validator does not validate subclasses.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.1.0.beta1
    • 2.0.1
    • seam2
    • None
    • Hide

      Clean/build the project or change/save subclass.

      Show
      Clean/build the project or change/save subclass.

    Description

      How it should work:
      1. EXECUTE: Create seam war project.
      2. EXECUTE: Create ClassA.java:

      public class ClassA {}

      3. EXECUTE: Create ClassB.java:

      @Stateful
      @Name("comp")
      public class ClassB extends ClassA {
      }

      4. EXECUTE: build project.
      5. ASSERT: There is an error marker: Stateful component must have a method marked @Remove
      6. EXECUTE: Add @Remove to ClassA:

      public class ClassA {
      @Remove
      public void foo() {}
      }

      7. EXECUTE: build project.
      8. ASSERT: Validator removes the error marker.

      But now only cleaning/building the project or changing ClassB makes Validator see changes for ClassB.

      Attachments

        Issue Links

          Activity

            People

              alexeykazakov Alexey Kazakov
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: