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

    Details

    • Subcomponent:
    • Resolved In Build:
      b28

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: