"jx sun" <[EMAIL PROTECTED]> writes:

Yes, that is a known problem. Thanks for pointing out. Velocity-1.4 is
only up to JDK 1.4.x. The current HEAD does work under JDK 5.

        Best regards
                Henning



>------=_Part_93558_21418520.1153480704707
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline

>At least 2 classes of velocity1.4 has var 'enum' which is a left word in
>jdk1.5

>1, org.apache.velocity.texen.Generator 's
>protected void fillContextHash (Context context, Hashtable objs)
>    {
>        Enumeration enum_ = objs.keys();
>        while (enum_.hasMoreElements())
>        {
>            String key = enum_.nextElement().toString();
>            context.put (key, objs.get(key));
>        }
>    }
>2,org.apache.velocity.util.EnumerationIterator's
>private Enumeration enum = null;

>at least Eclipse 3.1 with jdk1.5 will say : "Synax error on token
>"enum",delete the token" to you .

> ------------------------------
> jyanshine - Shanghai
>[EMAIL PROTECTED]
>2006-07-21

>------=_Part_93558_21418520.1153480704707--

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

Social behaviour: Bavarians can be extremely egalitarian and folksy.
                                    -- http://en.wikipedia.org/wiki/Bavaria
Most Franconians do not like to be called Bavarians.
                                    -- http://en.wikipedia.org/wiki/Franconia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to