Details
Description
If a service provider class throws an error or unchecked exception in its initializer then ServiceLoader will not wrap the error/exception in a ServiceConfigurationError when running with a security manager. The no security manager case is okay, the error/exception is wrapped.