classpathx-javamail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-javamail] nntp client


From: Chris Burdess
Subject: Re: [Classpathx-javamail] nntp client
Date: Wed, 27 Apr 2005 19:20:26 +0100

Joseph Shraibman wrote:
javac -g -classpath ./classes:./source::: -d ./classes source/gnu/inet/smtp/ParameterList.java Note: source/gnu/inet/smtp/ParameterList.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
javac -g -classpath ./classes:./source::: -d ./classes source/gnu/inet/smtp/SMTPConnection.java source/gnu/inet/smtp/SMTPConnection.java:632: createSaslClient(java.lang.String[],java.lang.String,java.lang.String ,j ava.lang.String,java.util.Map<java.lang.String,? >,javax.security.auth.callback.CallbackHandler) in javax.security.sasl.Sasl cannot be applied to (java.lang.String[],<nulltype>,java.lang.String,java.lang.String,java .u til.Properties,javax.security.auth.callback.CallbackHandler)
          Sasl.createSaslClient(m, null, "smtp",
              ^
Note: source/gnu/inet/smtp/SMTPConnection.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
I can't help you with this, as JDK 1.5 doesn't exist for my platform. If you resolve it please submit a patch.

The solution is to replace Properties with a HashMap

I've done this and committed: it doesn't seem to cause any problems with earlier SASL implementations.
--
Chris Burdess





reply via email to

[Prev in Thread] Current Thread [Next in Thread]