Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7946 CDI Validatons does not seem to revalidate
  3. JBIDE-7963

CDI model is not updated correctly if there are a few related projects.

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Blocker
    • 3.2.0.CR1
    • 3.2.0.Beta2
    • cdi
    • None

    Description

      1. Import seam-forge maven projects (see http://seamframework.org/Documentation/SeamForge)
      2. Create the following annotation type in forge-shell-api

      @NormalScope
      @Inherited
      @Target(

      { TYPE, METHOD, FIELD }

      )
      @Retention(RUNTIME)
      @Documented
      public @interface TestScope {}

      3. Create the following class in forge-test-harness

      public class Test1 extends TestSuper {

      @Inject boolean test;

      @TestScope
      @Produces boolean foo()

      { return true; }

      }

      4. Test1.test is marked as incorrect injection (non-proxible type of normal scoped bean).
      5. Change @NormalScope to @Scope in TestScope.
      6. Problem marker still exists. But it should disappear.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: