Review classloader usage

Description

There are several things we need to look at:

  • The different methods in ClassLoaderHelper take a fallback classloader as additional parameter. This parameter can most likely be removed and the ClassLoaderHelper class itself can be used.

  • Currently only the TCCL and the current class loader are considered. I think we need to take into account an application provided classloader as well (container situtations). This ties into HSEARCH-1121.

  • I think we can make better use of AggregatedClassLoader for this purpose, abstracting away all the different classloaders. The aggregated classloader could be provided as a service.

Environment

None

Status

Assignee

Hardy Ferentschik

Reporter

Hardy Ferentschik

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

5.0.0.Final

Priority

Critical