gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject java1.5 failures
Date Mon, 06 Mar 2006 12:20:50 GMT

Iooking at the few failures is interesting, as it shows up some java1.5 
quirks.

in particular, rhino is failing

http://vmgump.apache.org/gump/public/rhino-cocoondev/rhino-cocoondev/gump_work/build_rhino-cocoondev_rhino-cocoondev.html

     [javac] Compiling 117 source files to 
/x1/gump/public/workspace/rhino-cocoondev/build/classes
     [javac] 
/x1/gump/public/workspace/rhino-cocoondev/src/org/mozilla/javascript/ScriptRuntime.java:1209:

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]     public static Object nextEnum(Enumeration enum) {

Only, the build file doesnt say source=1.5, and ant should default down, 
to source=1.2 unless told otherwise.

Neither build file is opting for java1.5
http://svn.cocoondev.org/repos/rhino+cont/trunk/rhino1_5R4pre/build.xml
http://svn.cocoondev.org/repos/rhino+cont/trunk/rhino1_5R4pre/src/build.xml

anyone know why this is going on? Is there some other ant thing we need 
to change?

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message