[ https://issues.apache.org/jira/browse/HTTPCLIENT-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600775#comment-17600775 ]
Oleg Kalnichevski commented on HTTPCLIENT-2234: ----------------------------------------------- > so shading would be the only way. [~michael-o] I am not sure how you intend to shade Java 1.8 classes. > The commons-codec jar file is about 345k, but only a small fraction of it is > relevant to http-client. [~j3graham] What is exactly the problem? JRE class loader would only load those classes that are explicitly or reflectively imported and nothing else. Who cares about 345k of secondary storage these days? Oleg > remove dependency on commons-codec in older versions of http-client > ------------------------------------------------------------------- > > Key: HTTPCLIENT-2234 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2234 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpClient (classic) > Affects Versions: 5.1.3 > Reporter: Johannes Graham > Priority: Minor > > This would effectively be a backport of HTTPCLIENT-2218. > The commons-codec jar file is about 345k, but only a small fraction of it is > relevant to http-client. > If there is any interest in pursuing this, I would be willing to provide a PR > for it. > My initial proposal for implementing this would be to pull the relevant code > from commons-codec and include a simplified version of it in this project. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org