|summary:||Fix for GLASSFISH-15791|
|date:||2011-02-05 08:45:31 UTC (4 years)|
|message:||Fix for GLASSFISH-15791
Fix in svn commit 44935 backported to 3.1 Branch
-- Original commit message
When a bundled library (WEB-INF/lib/*jar) in a WAR is a Bean archive(includes beans.xml) and also bundles a javax.enterprise.inject.spi.Extension implementation, GF BDA processing logic was adding the beans.xml in the bundled library resource twice to its list. Hence an enabled Alternative/Interceptor/Decorator in the bundled library was reported to exist twice during metadata processing in Weld.
Fix involved ensuring that only once a unique location of beans.xml is added to the BDA's beans.xml URL list.
Tests run: QL(Full and Web profile), CDI devtests with and without security manager enabled, CDI TCK, test provided by user.
Added new developer test: javaee-integration/cdi-servlet-3.0-annotation-with-web-inf-lib-extension-alternative
Approved by: Nazrul