You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2013/10/05 18:45:43 UTC
[jira] [Resolved] (HTTPCLIENT-1414) ClientConnectionManager should
honor context classloader
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-1414.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 4.2.7
Kohsuke
I committed your patch to SVN 4.2.x branch. However it is very unlikely there will ever be another release off that branch.
Please consider migrating to 4.3
Oleg
> ClientConnectionManager should honor context classloader
> --------------------------------------------------------
>
> Key: HTTPCLIENT-1414
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1414
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.2.6
> Reporter: Kohsuke Kawaguchi
> Fix For: 4.2.7
>
> Attachments: HTTPCLIENT-1414.diff, HTTPCLIENT-1414.diff
>
>
> {{AbstractHttpClient.createClientConnectionManager}} uses {{Class.forName(String)}} to load a class, making it impossible to specify a classloader to resolve the name against.
> In a multi-classloader environment (such as OSGI, Ant, Jenkins, etc), this breaks clients like jets3t that needs to control this parameter.
> I'm attaching the patch that uses thread context classloader, so that the calling appliation can control this resolution behaviour.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org