My preference would be to make Java 6 the minimum requirement. Gary
On Thu, Jan 10, 2013 at 7:52 AM, Alexey Serba <[email protected]> wrote: > Hi, > > It seems that http client (at least 4.1.3) does not honor > SSLContext.getDefault, i.e. does not pickup SSLContext configured > using SSLContext.setDefault. The problem is that I want to override > default SSLContext at a runtime and do not have control over all > httpclient usages, i.e. can not instrument all http client instances > using "getConnectionManager().getSchemeRegistry().register(scheme)" > spell. I was thinking that httpclient should use default SSLContext by > default, but apparently it's not. I've found HTTPCLIENT-789 and it > says that the reason is that SSLContext.getDefault() is Java 6/7 only. > I'm wondering if it makes sense to use reflection here and honor > default SSLContext on Java 6/7 platforms. Any opinions? > > Thanks in advance, > Alexey > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- E-Mail: [email protected] | [email protected] JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
