We have 4 pc's on which we tried to compile the JBoss 4 Guide examples. On 2
machines it succeeded, on 2 it failed with message:
[javac]
C:\JBoss\jboss4guide\examples\src\main\org\jboss\chap8\ex2\JndiUserAndPass.java:33:
abstract method initialize(javax.security.auth.Subject
,javax.security.auth.callback.CallbackHandler
,java.util.Map<java.lang.String,?>
,java.util.Map<java.lang.String,?>)
in javax.security.auth.spi.LoginModule cannot be accessed directly
[javac] super.initialize(subject, callbackHandler, sharedState,
options);
[javac] ^
[javac]
C:\JBoss\jboss4guide\examples\src\main\org\jboss\chap8\ex2\JndiUserAndPass.java:33:
warning: [unchecked] unchecked conversion
[javac] found : java.util.Map
[javac] required: java.util.Map<java.lang.String,?>
[javac] super.initialize(subject, callbackHandler, sharedState,
options);
java version: result
--------------------
1.5.0-beta2: success
1.5.0_01: success
1.5.0_02: failure (2 different machines)
The 2 pc's that fail had an older (don't know which) version of JDK 1.5 but
because it didn't compile, they were updated to the latest version. It still
doesn't work, though.
All of us have the latest source.
What could be wrong?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872563#3872563
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872563
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user