[
http://jira.jboss.com/jira/browse/JBIDE-1361?page=all ]
Viacheslav Kabanovich resolved JBIDE-1361.
------------------------------------------
Resolution: Done
Seam model loses Component if source java file of this component
contains some inner classes.
---------------------------------------------------------------------------------------------
Key: JBIDE-1361
URL:
http://jira.jboss.com/jira/browse/JBIDE-1361
Project: JBoss Tools
Issue Type: Bug
Components: Seam
Affects Versions: 2.0.0.CR2
Reporter: Alexey Kazakov
Assigned To: Viacheslav Kabanovich
Attachments: screenshot-1.jpg, screenshot-2.jpg
1. EXECUTE: Create Seam war project (Use New Seam Project Wizard)
2. EXECUTE: Open org.domain.<projectName>.session.Authenticator.java
3. EXECUTE: Add @Destroy method: @Destroy public destroy() {}
4. EXECUTE: Open Components View
5. EXECUTE: Build project
6. ASSERT: Components view shows component "Authenticator". See screenshot#1.
7. ASSERT: There is not any error markers on @Destroy method.
8. EXECUTE: Add inner class to Authenticator:
class FooInner {
}
9. EXECUTE: Build project
10. FAILURE: Components view loses component "Authenticator". See
screenshot#2.
11. FAILURE: There is error marker on @Destroy method: Only component class can have
@Destroy method "destroy"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira