Marko Lukša resolved Bug WELD-1161 as Rejected

The validation cannot be moved to the parser, because it is also possible to completely circumvent the parser by supplying your own Bootstrap impl (see WELD-560)

The problem in your case is that Weld SE merges all the beans.xml files it find on the classpath and returns it as a single BeansXml object.

So if anything, your problem could be fixed by having the parser remove duplicates when merging (but according to the javadoc of Bootstrap.parse() duplicates should not be removed - don't know why, though).

Change By: Marko Lukša (30/Jul/12 5:29 AM)
Status: Open Resolved
Resolution: Rejected
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira