I do like programming with try-with-resources, feels safer, warm and fuzzy.
Gary On Thu, Sep 25, 2014 at 2:45 PM, Oleg Kalnichevski <[email protected]> wrote: > On Thu, 2014-09-25 at 18:17 +0100, sebb wrote: > > On 25 September 2014 10:17, Oleg Kalnichevski <[email protected]> wrote: > > > On Wed, 2014-09-24 at 17:45 -0400, Todd W Lainhart wrote: > > > > > > ... > > > > > >> Also I'm recalling minimum JVM versions for HttpComponents being > discussed > > >> and polled. Was it 1.6 or 1.7 that was decided upon for subsequent > > >> releases (e.g. 4.4)? Maybe the poll was for Android only? > > >> > > > > > > HC 4.4 requires 1.6. The majority of respondents were in favor of > > > upgrading straight to 1.7, so 5.0 might be the right time to upgrade to > > > 1.7. > > > > There is no point requiring 1.7 for the sake of it. > > That will exclude users who cannot upgrade from 1.6 > > > > However, if there are new features in 1.7 that make a significant > > difference to the HC code, then it is worth considering. > > > > I have yet to see any discussion of the new features in 1.7 which are > > a "must-have" as far as HC is concerned. > > > > I agree. ConcurrentLinkedDeque [1] may be required for lock-less > (concurrent) connection pools [2]. There might still be ways to use > ConcurrentLinkedQueue instead. > > Oleg > > [1] > > http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentLinkedDeque.html > [2] https://issues.apache.org/jira/browse/HTTPCORE-390 > > > > Oleg > > > > > > > > > > > > --------------------------------------------------------------------- > > > 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] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
