Antonio Gallardo wrote:
/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ProcessingPhase.java:22:
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) import org.apache.commons.lang.enum.ValuedEnum;
Seems like commons-lang need to be refactored? Or is this a java bug? Note
this is inside a import statement. I need to read the 1.5 reference
first....
enum is a new type in 1.5 (yay!!)
I still don't see any reason for excitement. Java was better without enums.
if you dig around the archives you'll find some changes got made already with respect to this problem (fairly recently, too). not sure if they all got caught or not. if so, cvs update! :)
You mean changes in commons-lang?
Vadim
