You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Steve Loughran <st...@apache.org> on 2006/03/06 13:20:50 UTC

java1.5 failures

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