Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-224

Missing injection points for CircularDependencyTest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.0.Alpha1
    • 1.0.4.Final
    • Tests
    • None

    Description

      It looks like that some beans tested by CircularDependencyTest miss injection points.
      See org.jboss.jsr299.tck.tests.lookup.circular.NormalSelfConsumingNormalProducer, org.jboss.jsr299.tck.tests.lookup.circular.DependentSelfConsumingNormalProducer, org.jboss.jsr299.tck.tests.lookup.circular.NormalSelfConsumingDependentProducer

      For instance there is a field @SelfConsumingNormal1 Violation violation in DependentSelfConsumingNormalProducer:

      class DependentSelfConsumingNormalProducer
      {
         @SelfConsumingNormal1 Violation violation;
         
         @Produces @ApplicationScoped @SelfConsumingNormal1
         public Violation produceViolation() {
            return new Violation();
         }
         
         public void ping() {
            
         }
      }
      

      which should be declared as an injection point: @Inject @SelfConsumingNormal1 Violation violation

      Attachments

        Activity

          People

            mkouba@redhat.com Martin Kouba
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty