Yes, SPI-Fly only handles setting the ThreadContextClassLoader for the duration of certain invocations.
BTW Anyone know whether there exist such a hacked endorsed jar for the file system provider? Cheers, David On 29 September 2016 at 18:23, Guillaume Nodet <gno...@apache.org> wrote: > No, I think your analysis is correct. > Iin order to work, we'd have to use an endorsed hacked spec jar, as we > usually do > > 2016-09-29 19:10 GMT+02:00 Benson Margulies <bimargul...@gmail.com>: > >> Has anyone tried or succeeded in integrating a file system provider by >> using SPI-fly? >> >> The code in the JRE calls 'ClassLoader.getSystemClassLoader()', which >> leads me to be a pessimist, but I thought I'd ask. >> > > > > -- > ------------------------ > Guillaume Nodet > ------------------------ > Red Hat, Open Source Integration > > Email: gno...@redhat.com > Web: http://fusesource.com > Blog: http://gnodet.blogspot.com/ > >