cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <colle...@umn.edu>
Subject Re: Compile Cocoon with java 1.5
Date Wed, 06 Oct 2004 22:23:06 GMT
Vadim Gritsenko wrote:

> Tony Collen wrote:
> 
>> 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.

Just trying to show some enthusiasm for our overlords.

> 
> 
>> 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?

I meant this:

http://marc.theaimsgroup.com/?t=109687770800003&r=1&w=2

But apparently I wasn't paying close enough attention to what was going on.


Regards,
Tony

Mime
View raw message