DO NOT REPLY [Bug 32664] New: - Examples with enum breaks Gump (JDK1.5)

[email protected]
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32664>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32664

           Summary: Examples with enum breaks Gump (JDK1.5)
           Product: BCEL
           Version: unspecified
          Platform: All
               URL: http://brutus.apache.org/gump/jdk15/jakarta-
                    bcel/bcel/gump_work/build_jakarta-bcel_bcel.html
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.