Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 9294 invoked from network); 24 Feb 2006 01:35:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Feb 2006 01:35:02 -0000 Received: (qmail 86059 invoked by uid 500); 24 Feb 2006 01:35:02 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 85881 invoked by uid 500); 24 Feb 2006 01:35:01 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 85860 invoked by uid 99); 24 Feb 2006 01:35:01 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2006 17:34:59 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 34760DC for ; Fri, 24 Feb 2006 02:34:38 +0100 (CET) Message-ID: <2068287360.1140744878171.JavaMail.jira@ajax.apache.org> Date: Fri, 24 Feb 2006 02:34:38 +0100 (CET) From: "Andrew McIntyre (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-73) Ability to compile under JDK1.5 In-Reply-To: <1263663060.1101063814590.JavaMail.apache@nagoya> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-73?page=comments#action_12367617 ] Andrew McIntyre commented on DERBY-73: -------------------------------------- JavaCC 3.2 has an issue with lookahead that causes a failure in the test lang/db2compatibility.sql. However, I have tried the recently released JavaCC 4.0, and it fixes that issue and all tests passed cleanly, so at some point we will likely upgrade to that version. > Ability to compile under JDK1.5 > ------------------------------- > > Key: DERBY-73 > URL: http://issues.apache.org/jira/browse/DERBY-73 > Project: Derby > Type: Improvement > Components: Build tools > Reporter: Jeremy Boynes > Attachments: derby_jdk15_build.patch, derby_jdk15_build2.patch > > Compilation fails when using JDK1.5 due to > 1) no specification of language level > 2) use of "enum" as identifier > The language issue results in the use of the new StringBuilder class for string concatenation resulting in code that will not run on earlier JVMs. > Dropping the langauge level will allow it to compile but warnings are generated due to the use of "enum" as an identifier; with 1.5 this becomes a reserved word -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira