In GetInstancesFromServiceLoader, do not hide ServiceConfigurationError

Description

In class GetInstancesFromServiceLoader, thrown ServiceConfigurationErrors are not logged:

There are cases where it would be useful if these were logged after all.
Take for example the case where a developer adding a new ConstraintValidator has made a mistake and has not provided a no-args constructor for the validator. ServiceLoader will in this case fail to load the ConstraintValidator, but this will not be obvious to the developer.

Environment

None

Status

Assignee

Asutosh Pandya

Reporter

Stein Desmet

Labels

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

Yes, likely

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure