Hi everyone,

recently I found a bug in Wildfly: https://issues.jboss.org/browse/WFLY-3147

After looking at the source code I found that the BeansXmlHandler always calls interpolate() method, even if the argument is null.

Does it make sence?

In my opinion, BeansXmlHandler must not call interpolate() method if the String value is null (i.e. absent).

My questions to this mailing list are: 
1) Is this really bug in weld and I should report a JIRA bug / make a pull request?
or 
2) Does this work as expected/designed and the bug is in Wildfly?


Cheers,

/max.