You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by mouli <uc...@yahoo.com> on 2004/10/15 20:29:45 UTC
"enum" warnings
Folks,
I have seen the following warnings using JDK 1.5
C:\asf\geronimo\specs\j2ee-jacc\src\java\javax\security\jacc\WebResourcePermissi
on.java:138: warning: as of release 1.5, 'enum' is a
keyword, and may not be use
d as an identifier
(try -source 1.5 to use 'enum' as a keyword)
Enumeration enum = permissions.elements();
^
C:\asf\geronimo\specs\j2ee-jacc\src\java\javax\security\jacc\WebResourcePermissi
on.java:140: warning: as of release 1.5, 'enum' is a
keyword, and may not be use
d as an identifier
(try -source 1.5 to use 'enum' as a keyword)
while (enum.hasMoreElements()) {
^
C:\asf\geronimo\specs\j2ee-jacc\src\java\javax\security\jacc\WebResourcePermissi
on.java:141: warning: as of release 1.5, 'enum' is a
keyword, and may not be use
d as an identifier
(try -source 1.5 to use 'enum' as a keyword)
if
(((WebResourcePermission)enum.nextElement()).implies(p))
retu
rn true;
^
C:\asf\geronimo\specs\j2ee-jacc\src\java\javax\security\jacc\WebUserDataPermissi
on.java:160: warning: as of release 1.5, 'enum' is a
keyword, and may not be use
d as an identifier
(try -source 1.5 to use 'enum' as a keyword)
Enumeration enum = permissions.elements();
^
C:\asf\geronimo\specs\j2ee-jacc\src\java\javax\security\jacc\WebUserDataPermissi
on.java:162: warning: as of release 1.5, 'enum' is a
keyword, and may not be use
d as an identifier
(try -source 1.5 to use 'enum' as a keyword)
while (enum.hasMoreElements()) {
^
C:\asf\geronimo\specs\j2ee-jacc\src\java\javax\security\jacc\WebUserDataPermissi
on.java:163: warning: as of release 1.5, 'enum' is a
keyword, and may not be use
d as an identifier
(try -source 1.5 to use 'enum' as a keyword)
if
(((WebUserDataPermission)enum.nextElement()).implies(p))
retu
rn true;
^
6 warnings
And at some how the build hangs at "Executing
(default): Geronimo :: J2EE Application Management
Specification" ,"Attempting to download
geronimo-spec-ejb-2.1-SNAPSHOT.jar." while trying to
build "specs".
Regards,
Mouli
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail