geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mouli <uc_mo...@yahoo.com>
Subject "enum" warnings
Date Fri, 15 Oct 2004 18:29:45 GMT
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 

Mime
View raw message