Skip to content

Commit

Permalink
Bug Report: CDI tries to instantiate interface (Jersey 2.30)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <[email protected]>
  • Loading branch information
jbescos committed Sep 3, 2021
1 parent 3d131db commit 7d2114b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private boolean bind(final Class<?> clazz, final Set<Class<?>> providerContracts
final boolean isJaxRsResource = runtimeSpecifics.isJaxRsResource(clazz);

if (isJaxRsResource && !runtimeSpecifics.isAcceptableResource(clazz)) {
LOGGER.warning(LocalizationMessages.CDI_NON_INSTANTIABLE_COMPONENT(clazz));
LOGGER.info(LocalizationMessages.CDI_NON_INSTANTIABLE_COMPONENT(clazz));
return false;
}

Expand Down

0 comments on commit 7d2114b

Please sign in to comment.