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

Add support for ServiceLoader.load(Class, ClassLoader)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: spifly-1.1
    • Component/s: SPI Fly
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: