hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Java 1.7 for 5.0 ? (was: HttpClient v4.x deprecations)
Date Thu, 25 Sep 2014 22:45:04 GMT
On 25 September 2014 19:47, Gary Gregory <garydgregory@gmail.com> wrote:
> I do like programming with try-with-resources, feels safer, warm and fuzzy.

However, there are other ways to achieve resource cleanup which don't
require 1.7
Findbugs and IDEs are quite good at reporting where resources have not
been closed.

So I would not regard that as a reason to require 1.7

> Gary
>
> On Thu, Sep 25, 2014 at 2:45 PM, Oleg Kalnichevski <olegk@apache.org> wrote:
>
>> On Thu, 2014-09-25 at 18:17 +0100, sebb wrote:
>> > On 25 September 2014 10:17, Oleg Kalnichevski <olegk@apache.org> 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: httpclient-users-unsubscribe@hc.apache.org
>> > > For additional commands, e-mail: httpclient-users-help@hc.apache.org
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> > For additional commands, e-mail: httpclient-users-help@hc.apache.org
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> 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

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


Mime
View raw message