Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1854

Add support for ServiceLoader.load(Class, ClassLoader)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • spifly-1.1
    • SPI Fly
    • None

    Description

      Currently SpiFly does not support the ServiceLoader.load(Class, ClassLoader) method, ignoring it completely.

       

      The solution is to create a wrapper classloader which takes the specified classloader as the parent. If the parent lookup for a provider fails, fall through to the Service Loader Mediator mechanism. This method does not rely on the TCCL.

      Attachments

        Activity

          People

            rotty3000 Raymond Augé
            rotty3000 Raymond Augé
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: