ServiceConfigurationError on iterator.hasNext() when loading plugins isn't handled [JDBC636] #666
Labels
affect-version: Jaybird 2.2.15
affect-version: Jaybird 3.0.7
affect-version: Jaybird 3.0.8
affect-version: Jaybird 3.0.9
affect-version: Jaybird 4.0.0
affect-version: Jaybird 4.0.1
component: jdbc driver
component: xca/jca layer
fix-version: Jaybird 3.0.10
fix-version: Jaybird 4.0.2
fix-version: Jaybird 5
priority: major
resolution: fixed
type: bug
Submitted by: @mrotteveel
The iterator.hasNext() of a ServiceLoader iterator can also throw a ServiceConfigurationError, but this isn't handled right now, causing the exception to escape loading of - for example - GDSFactory, EncodingFactory, ProtocolCollection and authentication plugins. As a result, the driver is then in an unusable state because the fallback handling is skipped.
See for example https://stackoverflow.com/q/65369197/466862
Commits: 0c26a59 5b9c36a e0d818d
The text was updated successfully, but these errors were encountered: