Re: JDK 1.4 compatibility

Russell Gold <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
On Dec 31, 2007, at 9:14 AM, Wolfgang Fahl wrote:

> Dear httpunit community members,
>
> while working with Patch  1518901 the issue of JDK 1.4 compatibility  
> came up.
>
> Currently I decided to put the patch into the code but comment it  
> out like this:
> https://sourceforge.net/tracker/index.php?func=detail&aid=1518901&group_id=6550&atid=306550
>             // [ 1518901 ] enable http connect and read timeouts  
> (needs JDK 1.5)
>             // comment out if you need this and have JDK 1.5
>             // if (_connectTimeout>=0)  
> connection.setConnectTimeout( _connectTimeout );
>             // if (_readTimeout>=0)     
> connection.setReadTimeout( _readTimeout );
> I'd suggest that we create a 1.6.x version as the latest JDK 1.4  
> supporting release with all the patches from sourceforge being  
> brought in and that everything from 2008 on will be JDK 1.5 and  
> there will be 1.7 release for that then.
>
> What do you think?
>

Take a look at the build script - you will see special handling for  
1.4 / 1.5. We can probably use this to conditionally enable features  
like this. I'd be cautious about dropping old JDKs too quickly. Lots  
of people take a long time to upgrade.

>
> Wolfgang
>
> BITPlan - smart solutions
> Pater-Delp-Str. 1, D-47877 Willich Schiefbahn
> Tel. +49 1805 - BITPLAN / +49 1805 248 752, Fax +49 2154 811-481
> Web: http://www.bitplan.de
> bitplan GmbH, Willich - HRB 6820 Krefeld, VAT-ID: 10258040548,  
> Geschäftsführer: Wolfgang Fahl
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
> Httpunit-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/httpunit-develop

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.