From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3579 invoked by alias); 9 Apr 2004 17:30:09 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 3519 invoked from network); 9 Apr 2004 17:30:08 -0000 Received: from unknown (HELO smtp1.fuse.net) (216.68.8.171) by sources.redhat.com with SMTP; 9 Apr 2004 17:30:08 -0000 Received: from dellpi.pinski.fam ([66.42.243.186]) by smtp1.fuse.net (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with ESMTP id <20040409173005.CUZW8029.smtp1.fuse.net@dellpi.pinski.fam>; Fri, 9 Apr 2004 13:30:05 -0400 Received: from [127.0.0.1] (IDENT:pinskia@localhost.pinski.fam [127.0.0.1]) by dellpi.pinski.fam (8.12.2/8.12.1) with ESMTP id i39HU4xj011819; Fri, 9 Apr 2004 13:30:05 -0400 (EDT) In-Reply-To: <1081531170.4634.56.camel@escape> References: <1081531170.4634.56.camel@escape> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=UTF-8; format=flowed Message-Id: <8926863A-8A4B-11D8-97E7-000393A6D2F2@physics.uc.edu> Content-Transfer-Encoding: quoted-printable Cc: gbenson@redhat.com, rhug-rhats@sources.redhat.com, Andrew Pinski , java@gcc.gnu.org From: Andrew Pinski Subject: Re: Tomcat and java.version Date: Fri, 09 Apr 2004 17:30:00 -0000 To: Anthony Green X-SW-Source: 2004-04/txt/msg00002.txt.bz2 On Apr 9, 2004, at 13:19, Anthony Green wrote: > gcj's java.version system property currently mirrors the GCC release > version. This can be surprising to some software that examines > java.version. In some cases it causes fatal errors. For instance, the > jakarta commons-lang package tries to convert java.version to a=20 > floating > point number, but values like "3.5-tree-ssa" really mess it up. Looking at , it looks=20 like jakarta is wrong here, in fact it was not wrong, a beta from Sun would=20 not be able to run jakarta at all. =E2=96=AA A separator is always used between different parts of the string= so=20 that ordering can be determined programmically. (For example, a version=20 string of "1.3.1beta" is not acceptable. A version string of=20 "1.3.1-beta" is acceptable.) Thanks, Andrew Pinski