You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Jeremy Boynes (JIRA)" <de...@db.apache.org> on 2004/11/21 20:14:25 UTC

[jira] Updated: (DERBY-73) Ability to compile under JDK1.5

     [ http://nagoya.apache.org/jira/browse/DERBY-73?page=history ]

Jeremy Boynes updated DERBY-73:
-------------------------------

    Attachment: derby_jdk15_build.patch

Adds derby.compile.source and derby.compile.target parameters to force the language level used by javac
These can be specified in ${user.home}/ant.properties

Changes the name of "enum" variables to "e"

> Ability to compile under JDK1.5
> -------------------------------
>
>          Key: DERBY-73
>          URL: http://nagoya.apache.org/jira/browse/DERBY-73
>      Project: Derby
>         Type: Improvement
>   Components: Build tools
>     Reporter: Jeremy Boynes
>  Attachments: derby_jdk15_build.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://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira