Hello,

If I have two Jar file contributions JarA and JarB where there are
dependencies from JarA to classes in JarB, should I set the thread context
classloader to an URLClassloader for JarA and JarB before calling
contributionService.contribute()? Or will SCA set the classloader when
contributions are added?

ClassReferenceModelResolver currently uses the thread context classloader
for loading classes, but a FIXME in the code says that the classloader
should be passed in. Since contributionService.contribute takes a single
contribution as parameter, where would a classloader that has access to
multiple contributions be passed in from?


Thank you...

Regards,

Rajini

Reply via email to