[jira] [Created] (IGNITE-1930) Configured class loader is ignored in many places in the code

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-1930) Configured class loader is ignored in many places in the code

Anton Vinogradov (Jira)
Alexey Goncharuk created IGNITE-1930:
----------------------------------------

             Summary: Configured class loader is ignored in many places in the code
                 Key: IGNITE-1930
                 URL: https://issues.apache.org/jira/browse/IGNITE-1930
             Project: Ignite
          Issue Type: Task
    Affects Versions: ignite-1.4
            Reporter: Alexey Goncharuk


Currently the user-set ClassLoader
(IgniteConfiguration#setClassLoader) is ignored in many places where iit should be preferred, e.g.:

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

Looks like Ignite should 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)