commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BCEL-53) Examples with enum breaks Gump (JDK1.5)
Date Thu, 24 Apr 2014 08:07:16 GMT

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

Emmanuel Bourg updated BCEL-53:
-------------------------------

             Priority: Blocker
    Affects Version/s:     (was: unspecified)
                       5.1
        Fix Version/s: 5.2
              Summary: Examples with enum breaks Gump (JDK1.5)  (was: [bcel] Examples with
enum breaks Gump (JDK1.5))

> Examples with enum breaks Gump (JDK1.5)
> ---------------------------------------
>
>                 Key: BCEL-53
>                 URL: https://issues.apache.org/jira/browse/BCEL-53
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 5.1
>         Environment: Operating System: All
> Platform: All
> URL: http://brutus.apache.org/gump/jdk15/jakarta-bcel/bcel/gump_work/build_jakarta-bcel_bcel.html
>            Reporter: Davanum Srinivas
>            Assignee: Apache Commons Developers
>            Priority: Blocker
>             Fix For: 5.2
>
>
> need i say more?
> (http://brutus.apache.org/gump/jdk15/jakarta-bcel/bcel/gump_work/build_jakarta-bcel_bcel.html)
> examples:
>     [javac] Compiling 37 source files to
> /usr/local/gump/jdk15/workspace/jakarta-bcel/bin/classes
>     [javac]
> /usr/local/gump/jdk15/workspace/jakarta-bcel/examples/Mini/MiniParser.java:895:
> as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
>     [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
>     [javac]       for (java.util.Enumeration enum = jj_expentries.elements();
> enum.hasMoreElements();) {
>     [javac]                                  ^
>     [javac]
> /usr/local/gump/jdk15/workspace/jakarta-bcel/examples/Mini/MiniParser.java:895:
> as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
>     [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
>     [javac]       for (java.util.Enumeration enum = jj_expentries.elements();
> enum.hasMoreElements();) {
>     [javac]                                                                   ^
>     [javac]
> /usr/local/gump/jdk15/workspace/jakarta-bcel/examples/Mini/MiniParser.java:896:
> as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
>     [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
>     [javac]         int[] oldentry = (int[])(enum.nextElement());
>     [javac]                                  ^
>     [javac] 3 errors
> BUILD FAILED
> /usr/local/gump/jdk15/workspace/jakarta-bcel/build.xml:78: Compile failed; see
> the compiler error output for details.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message