tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <h...@gefionsoftware.com>
Subject Re: VOTE: JDK1.2 compiler
Date Tue, 13 Jun 2000 01:19:05 GMT
costin@costin.dnt.ro wrote:
> 
> Hi,
> 
> I want to know where do we stand with this issue: please send your vote
> about removing the requirement of a JDK1.1 compiler.
> 
> Tomcat will still be usable with JDK1.1 and will support it, but for
> compilation you'll have to use a JDK1.2 compiler ( or jikes or any 1.1
> compiler with a JDK1.2 library in classpath ).
> 
> The problem is that it's very hard and ugly to support jdk1.2 features
> that can be compiled with JDK1.1.
> 
> It is reasonably easy to support JDK1.1 - by using the 1.2 objects only in
> local variables and inside if() blocks - if the code is never called the
> object will not be instantiated.
> 
> I know that some of you may use JDK1.1 - and I agree it's important to
> support it, but supporting the compiler is really hard - and it doesn't
> seem to be too many people interested in helping with that. It just add a
> big overhead to anyone who contributes code ( reflection, conditional
> builds, complex code, etc).

+1 on removing the requirement of a JDK1.1 compiler, as long as the code
runs in a 1.1 environment. To detect 1.1 runtime problems early, I suggest
that we add a requirement for all watchdog tests to be run with both 1.1 
and 1.2.

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com

Mime
View raw message