Unmanaged class name does not get added to the names array
The name should be added in the constructor. The code is here: https://github.com/weld/core/blob/2.2.9.Final/impl/src/main/java/org/jboss/weld/AbstractCDI.java#L54
The knownNames collection is immutable and referenced from a final field thus I cannot see how it could possibly not be added. Therefore, I think this is likely an issue with your setup and you are actually running a Weld version other than 2.2.9.Final (Previous versions did not have the line that adds unmanaged).
|