You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Marc Saegesser <Ma...@apropos.com> on 2002/03/28 04:45:09 UTC

Minimum JDK version for HttpClient

I realized recently that there is code in HttpClient that requires JDK 1.3,
namely URL.getPath() and URL.getQuery().  The JavaDoc doesn't indicate it,
but these methods got added in JDK 1.3.

Is there any reason we can't live with this?  Is support JDK 1.2.2 a
requirement?  Neither of these methods is all that difficult to implement,
but I'd much rather use the existing library methods if possible.

Marc Saegesser 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Minimum JDK version for HttpClient

Posted by co...@covalent.net.
On Wed, 27 Mar 2002, Marc Saegesser wrote:

> I realized recently that there is code in HttpClient that requires JDK 1.3,
> namely URL.getPath() and URL.getQuery().  The JavaDoc doesn't indicate it,
> but these methods got added in JDK 1.3.
> 
> Is there any reason we can't live with this?  Is support JDK 1.2.2 a
> requirement?  Neither of these methods is all that difficult to implement,
> but I'd much rather use the existing library methods if possible.

As long as they are in the library :-)

JDK1.2.2 is old and is not worth supporting, but the new GCJ3.0 and J2ME ( 
like the one running on the new Zaurus ) may be nice to support if 
possible. ( and I doubt either support the 1.3 or 1.4 APIs ). Especially 
in HttpClient, which may be used from a client environment as well.

You know, 'write once, run anywhere' :-) 

Costin





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>