Hi team,

I'm seeing instances of ClassLoaders being kept as instance variables in
many places. It looks a bit ad-hoc.

What surprises me is that the user-set ClassLoader
(IgniteConfiguration#setClassLoader) is ignored in many places where, in my
opinion, it should be preferred, e.g.:

* Optimized Marshaller
* U.gridClassLoader() and its many usages.
* etc.

Shouldn't Ignite use the user-preferred classloader for everything, and
only fallback to getClass().getClassLoader() and other methods as a default?

Currently the user's ClassLoader is only used from these spots:

* GridDeploymentManager
* GridDeploymentPerVersionStore
* CacheObjectImpl
* GridCacheDeploymentManager

*Raúl Kripalani*
PMC & Committer @ Apache Ignite, Apache Camel | Integration, Big Data and
Messaging Engineer
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk

Reply via email to