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

Seam model loses Component if source java file of this component contains some inner classes.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.GA
    • 2.0.0.CR1
    • seam2
    • None

      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"

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

                Created:
                Updated:
                Resolved: