Details
-
Bug
-
Resolution: Done
-
Major
-
2.0.1
-
None
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
- relates to
-
JBIDE-1691 Seam validator not looking at superclasses for missing annotations.
- Closed