You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stuart Roe (JIRA)" <se...@james.apache.org> on 2005/01/10 18:06:12 UTC

[jira] Commented: (JAMES-343) James does not compile using Sun JDK 5.0

     [ http://issues.apache.org/jira/browse/JAMES-343?page=comments#action_57478 ]
     
Stuart Roe commented on JAMES-343:
----------------------------------

A code patch for this has been posted on JAMES-237.

> James does not compile using Sun JDK 5.0
> ----------------------------------------
>
>          Key: JAMES-343
>          URL: http://issues.apache.org/jira/browse/JAMES-343
>      Project: James
>         Type: Bug
>     Versions: 2.2.1
>  Environment: Sun JDK 5.0
> Ant 1.6.2
>     Reporter: Jeff Keyser
>     Priority: Trivial

>
> Several of the source files use a variable called "enum" for Enumerators.  This is a new keyword in Java 1.5, and the Sun JDK 5.0 compiler fails when it sees these variables.
> Please add "source='1.4'" (or whichever language version is officially supported) to the "javac" task in build.xml.
> Changing the names of these variables would also work, but the "source" attribute provides better forward compatability as the Java language evolves.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org