hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moore, Jonathan (CIM)" <Jonathan_Mo...@Comcast.com>
Subject RE: [HttpCore] upgrade to Java 1.5
Date Thu, 05 May 2011 11:29:31 GMT
Also +1 and willing to help.

Jon
________________________________________
From: sebb [sebbaz@gmail.com]
Sent: Wednesday, May 04, 2011 8:13 PM
To: HttpComponents Project
Subject: Re: [HttpCore] upgrade to Java 1.5

On 4 May 2011 21:04, Oleg Kalnichevski <olegk@apache.org> wrote:
> Folks
>
> Java 1.3 compatibility has become a liability for the project. Instead
> of expanding our user base it simply prevents us form using newer
> language features such as generics and annotations.
>
> It simply no longer makes any sense.
>
> Let me propose the following:
>
> * release HttpCore 4.1.1 and state in the release notes that version
> 4.1.1 is going to be the last 1.3 compatible release
> * discontinue support for Java 1.3 in the 4.2 branch (trunk) and upgrade
> to Java 1.5 as a minimal JRE level.
> * remove code deprecated between 4.0-beta1 and 4.0 GA releases (over two
> years ago)
>
> This would enable us to do several things:
>
> * start using JUnit 4 and Mockito for testing core classes. Mockito
> makes testing of non-trivial code _massively_ easier.
> * move org.apache.http.annotation from HttpClient to HttpCore and start
> using them to document behavior of core classes with regards to thread
> safety (@ThreadSafe, @Immutable, @NonThreadSafe, etc)
> * Move low level connection pooling classes from HttpClient and
> HttpAsyncClient to HttpCore. Those classes make heavy use of generics.
> Non-blocking client side is simply useless without support for
> connection pooling.
>
> Please let me know if you have any objections or alternative proposals.

+1 to your suggestions, and I'm happy to help with the conversion.

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


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


Mime
View raw message