> My understanding is that even the latest versions of Android are still based > on Java 5. I am pretty sure it is up to Java 6 now. In the project properties in Eclipse, you can set the Java compiler to be 1.6. This makes the compiler not complain about the @Override annotation on interface implementation methods. Java 7 will not work.
Maybe it is using the Java 6 compiler but outputting a Java 5 class file? ...I have not played around with things like this much, so I can't really speak much to that. I don't have much of an opinion on what the source code level of HttpClient should be. We don't use Java 5 anymore, but it doesn't bother me that HttpClient works with Java 5. That being said, it seems that it should probably just stay where it is unless there is a compelling reason to move. Mark -----Original Message----- From: Alexey Serba [mailto:[email protected]] Sent: Friday, January 11, 2013 6:10 AM To: [email protected] Subject: Re: http client and SSLContext.getDefault It's more about changing SSLContext at a runtime. Please also see similar stackoverflow question - http://stackoverflow.com/questions/8764845/setting-the-default-java-sslcontext-from-a-resource-at-runtime -- View this message in context: http://httpcomponents.10934.n7.nabble.com/http-client-and-SSLContext-getDefault-tp18762p18784.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
