HHH-16881 - Fix conditional when CDI extensions are enabled
This commit is contained in:
parent
d90d6e63f0
commit
b386b25676
|
@ -110,7 +110,7 @@ public class DefaultRevisionInfoGenerator implements RevisionInfoGenerator {
|
|||
Class<? extends RevisionListener> listenerClass,
|
||||
ServiceRegistry serviceRegistry) {
|
||||
if ( !listenerClass.equals( RevisionListener.class ) ) {
|
||||
if ( Helper.allowExtensionsInCdi( serviceRegistry ) ) {
|
||||
if ( !Helper.allowExtensionsInCdi( serviceRegistry ) ) {
|
||||
return new ProvidedInstanceManagedBeanImpl<>(
|
||||
FallbackBeanInstanceProducer.INSTANCE.produceBeanInstance( listenerClass )
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue