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 "Kathey Marsden (JIRA)" <ji...@apache.org> on 2011/01/13 17:43:46 UTC

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

     [ https://issues.apache.org/jira/browse/DERBY-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden updated DERBY-73:
--------------------------------

    Fix Version/s: 10.1.1.0

> Ability to compile under JDK1.5
> -------------------------------
>
>                 Key: DERBY-73
>                 URL: https://issues.apache.org/jira/browse/DERBY-73
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>            Reporter: Jeremy Boynes
>            Assignee: Andrew McIntyre
>             Fix For: 10.1.1.0
>
>         Attachments: derby_jdk15_build.patch, derby_jdk15_build2.patch, javacc40.diff
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.