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

ResolutionByTypeTest.testResolveByTypeWithPrimitives() does not tolerate built-in beans

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.1.2.Final, 1.2.0.Beta1
    • 1.1.1.Final
    • None
    • None

    Description

      assertEquals(getBeans(Double.class, AnyLiteral.INSTANCE).size(), 2);
      assertEquals(getBeans(double.class, AnyLiteral.INSTANCE).size(), 2);
      

      This will break if there is an application server provided bean with type Double or double no matter what its qualifiers are. The TCK should use the @Number qualifier instead of @Any.

      Attachments

        Activity

          People

            mbriskar_jira Matej Briskar (Inactive)
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty