struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adolfo Miguelez" <pell...@hotmail.com>
Subject Re: Yes, it's another VOTE: RELEASE STRUTS 1.1 WITH DBCP NIGHTLY BUILD
Date Fri, 09 May 2003 08:02:01 GMT

Craig is right here since a lot of tools as VisualAge or WAS runs over 
smaller versions of the JDK.

Adolfo.


>From: "Craig R. McClanahan" <craigmcc@apache.org>
>Reply-To: "Struts Developers List" <struts-dev@jakarta.apache.org>
>To: Struts Developers List <struts-dev@jakarta.apache.org>
>Subject: Re: Yes, it's another VOTE: RELEASE STRUTS 1.1 WITH DBCP NIGHTLY 
>BUILD
>Date: Thu, 8 May 2003 20:22:08 -0700 (PDT)
>
>
>
>On Thu, 8 May 2003, Ted Husted wrote:
>
> > So, by retrofitting the old GDS and adding the new 1.4 Connection
> > signatures as "UnsupportedOperation", she compiles under 1.4 but
> > *without* Commons-DBCP and Commons-Pool.
>
>As soon as you try this, you're going to discover a very unpleasant fact
>-- you cannot create a single source file of a class that implements
>java.sql.Connection that compiles under both JDK < 1.4 and JDK >= 1.4.  If
>you want to see the world's worst hack to get around this, take a look at
>the commons-dbcp source code and the associated build script.
>
>Such a class compiled under 1.4 will *run* on a < 1.4 platform (as long as
>you don't reference the new methods that deal with a Savepoint).  But we'd
>have to accept a restriction that you can only compile Struts on a 1.4 or
>later platform.  That wouldn't bother me personally (I use 1.4
>exclusively) but I suspect it would bother more than a few users.
>
>Craig
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


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


Mime
View raw message