diff --git a/jsf-ri/src/main/java/com/sun/faces/flow/FlowDiscoveryCDIExtension.java b/jsf-ri/src/main/java/com/sun/faces/flow/FlowDiscoveryCDIExtension.java index 13ef2f7c1c..d46acfa1f7 100644 --- a/jsf-ri/src/main/java/com/sun/faces/flow/FlowDiscoveryCDIExtension.java +++ b/jsf-ri/src/main/java/com/sun/faces/flow/FlowDiscoveryCDIExtension.java @@ -100,7 +100,7 @@ public List> getFlowProducers() { void beforeBeanDiscovery(@Observes final BeforeBeanDiscovery event, BeanManager beanManager) { AnnotatedType flowDiscoveryHelper = beanManager.createAnnotatedType(FlowDiscoveryCDIHelper.class); - event.addAnnotatedType(flowDiscoveryHelper); + event.addAnnotatedType(flowDiscoveryHelper, null); }