I tried using interception factory on a produced {{Map}} (using the {{Map}} interface instead of actual underlying {{HashMap}}).
This causes an NPE to be thrown - we should be handling this is some more pleasant manner.
I will add Here is a [ link to my branch with the test/ reproducer shortly for this|https://github . com/manovotn/core/blob/weld_2335/tests-arquillian/src/test/java/org/jboss/weld/tests/interceptors/producer/Producer.java#L94]. Runnable with {{-Dtest=InterceptionFactoryTest#testListAdd}}. |
|