Weld Proxy don't work for VarArgs methods
Issue
If you have a CDI Bean which can be used as a dependent bean and can be looked up from BeanResolvers. This works as expected.
But if you need a weld-proxy around the bean, the weld proxy don't recognize the varargs functions any more as varargs.
There exists a JIRA ticket https://issues.jboss.org/browse/WELD-1141 which was solved in weld-1.1.9.Final and EAP-6.1.1 ships weld-core-1.1.13.Final-redhat but the bug still exists.
Environment
- Red Hat JBoss Enterprise Application Platform 6.1.1 and onwards
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
