>>>>> "Andy" == Andy Lutomirski <[EMAIL PROTECTED]> writes:
Andy> Hi- Andy> I can't get gnu-crypto to compile on sun's jdk 1.5.0 (even with Andy> -source 1.4 -target 1.4). I'm using amd64. It works find with Andy> blackdown's jdk. The reason for this is because the 1.5 JDK has the javax.security.sasl package in the standard library, and it seems that that specification and the one GNU Crypto uses has diverged somewhat. Take the 'SaslClient.getNegotiatedProperty' method. In GNU Crypto's implementation, this method's signature is Object getNegotiatedProperty(String) throws SaslException; But in the J2SE 1.5 API, it is Object getNegotiatedProperty(String); And is declared to throw an IllegalStateException in the case of an error. GNU Crypto's version of this API should be updated to be compatible with the one in the JDK. In the meantime, probably the only way to avoid this error is to omit the Jar with the SASL package from the compile classpath. -- Casey Marshall || [EMAIL PROTECTED] _______________________________________________ gnu-crypto-discuss mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-crypto-discuss
