ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22345] - In J2SDK 1.5.0 (Tiger) enum is a keyword
Date Thu, 14 Aug 2003 08:20:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22345>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22345

In J2SDK 1.5.0 (Tiger) enum is a keyword





------- Additional Comments From rstupp@pironet-ndh.com  2003-08-14 08:20 -------
I tried it - and javac returned a warning but compiled successfully. But this
does not mean, that it will compile without errors in future builds of J2SDK 1.5.

--------------------------------------------------------------------------
javac -target 1.5 bla/enum/test/Test.java
bla/enum/test/Test.java:1: warning: as of release 1.5, enum is a keyword, and
may not be used as an identifier
package bla.enum.test;
            ^
1 warning
--------------------------------------------------------------------------

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


Mime
View raw message