Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8189264

(sl) ServiceLoader does not wrap Errors thrown by provider classes when running with a security manager

XMLWordPrintable

    • b28

      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.

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: