From dev-return-64772-apmail-tomcat-dev-archive=tomcat.apache.org@tomcat.apache.org Wed Dec 07 06:55:19 2005 Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 3156 invoked from network); 7 Dec 2005 06:55:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 06:55:17 -0000 Received: (qmail 50150 invoked by uid 500); 7 Dec 2005 06:55:11 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 50105 invoked by uid 500); 7 Dec 2005 06:55:10 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 50093 invoked by uid 99); 7 Dec 2005 06:55:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 22:55:10 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mgsatish@gmail.com designates 66.249.82.206 as permitted sender) Received: from [66.249.82.206] (HELO xproxy.gmail.com) (66.249.82.206) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 22:55:09 -0800 Received: by xproxy.gmail.com with SMTP id s13so164326wxc for ; Tue, 06 Dec 2005 22:54:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=iQ5Zu2CTbpdWQ2b7L20TKRBMRIbfB70VY4jRqlNniNe7AuxTMJQGrLpmGCIudHl69OhLjAKiwquIR1vdP6s/k56gMercK0vvh+kutZbLcxdstaDbAvH9O7p96nGci+lL6nyoC/Vx2q5mIt/1iD9CAAueKiSnrpS+hPE+vE0DjHw= Received: by 10.70.100.17 with SMTP id x17mr1539203wxb; Tue, 06 Dec 2005 22:54:46 -0800 (PST) Received: by 10.70.110.10 with HTTP; Tue, 6 Dec 2005 22:54:45 -0800 (PST) Message-ID: <5e4924630512062254n3b84e413oa146d2d269fc4278@mail.gmail.com> Date: Wed, 7 Dec 2005 12:24:45 +0530 From: Satish MG To: Tomcat Developers List Subject: Re: Is TC 5.0.28 forward compatible with Java 5 In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21190_1642323.1133938485948" References: <5e4924630512050501v9c909ceq2be78f0a84311d7e@mail.gmail.com> <5e4924630512060339p3c02a4e2r82d9e0ee7006011b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_21190_1642323.1133938485948 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Yoav, Can I accomplish the goal of running Tomcat 5.0.28 on Java 5 by giving the option "-source 1.4.2" to javac at compile time and by not making any changes to the source code? Thanks satish On 12/6/05, Yoav Shapira wrote: > > Hi, > I think you can run Tomcat 5.0.28 on JSE 5 without any further work. > In order to compile it on JSE 5 you need to replace the variables > named enum with something that's not a keyword. > > Yoav > > On 12/6/05, Satish MG wrote: > > Hi, > > > > I am using Tomcat 5.0.28 with Java 1.4.2. Now I have to use the Tomcat > with > > Java 5.0. Even though Tomcat 5.5.X is Java 5 compatible with Java 5, > > I wanted Tomcat 5.0.28 on Java 5. So I wanted to Know whether Tomcat > > 5.0.28 is compatible with Java 5. > > > > Thanks > > satish > > > > > > > -- > Yoav Shapira > System Design and Management Fellow > MIT Sloan School of Management > Cambridge, MA, USA > yoavs@computer.org / www.yoavshapira.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > > ------=_Part_21190_1642323.1133938485948--