https://issues.jboss.org/browse/WELD-1007