hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kohsuke Kawaguchi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCLIENT-1414) ClientConnectionManager should honor context classloader
Date Sat, 05 Oct 2013 14:57:41 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kohsuke Kawaguchi updated HTTPCLIENT-1414:

    Attachment: HTTPCLIENT-1414.diff

Patch against the trunk.

> 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.3 Final
>            Reporter: Kohsuke Kawaguchi
>         Attachments: 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

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message