Suma Shivaprasad created ATLAS-1038:
---------------------------------------

             Summary: Multiple instances of AtlasPluginClassloader getting 
initialized
                 Key: ATLAS-1038
                 URL: https://issues.apache.org/jira/browse/ATLAS-1038
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 0.8-incubating
            Reporter: Suma Shivaprasad
            Assignee: Suma Shivaprasad
             Fix For: 0.8-incubating


Current code doesnt not synchronize the instance creation and hence results in 
multiple instances getting created

AtlasPluginClassLoader ret =
                AccessController.doPrivileged(new 
PrivilegedExceptionAction<AtlasPluginClassLoader>() {
                    public AtlasPluginClassLoader run() throws Exception {
                        return new AtlasPluginClassLoader(pluginType, 
pluginClass);
                    }
                });

        return ret;



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

Reply via email to