-
Bug
-
Resolution: Done
-
Major
-
2.0.3.Final
-
None
-
None
org.jboss.cdi.tck.tests.deployment.discovery.implicit.DefaultBeanDiscoveryModeTest creates an archive with beans.xml which have mode=annotated but have no version.
According to spec, this would classify as explicit archive which is IMO unintended (class is in package named implicit). Also according to specification, an archive with no version has a default bean discovery mode of all.
Another problem of the test is that it contains no valid bean class with BDA, only one extension which is disputable (it will effectively be a bean but when scanning the archive, it isn't a bean class with BDA). Adding one another bean class with BDA would solve this.