classpath
[Top][All Lists]
Advanced

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

Problem compiling docs for Crypto


From: Daniel B. Davis
Subject: Problem compiling docs for Crypto
Date: Mon, 22 Mar 2010 13:39:44 -0400

Hello --

I am sending this to both the Cnu Crypto mailing list and the Gnu Classpath list,
since I am not sure which is active.

I tried to compile the material under Gnu Crypto in order to use your Blowfish
(or Twofish) algorithm, and got the errors shown below. In working on them, I
finally noticed that it had been 'merged' into Gnu Classpath. I downloaded
Classpath, but could not find the missing Crypto files there.

Please help.

Daniel B. Davis

Errors:
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\temp\gnu-crypto-2.0.1>ant docs
Buildfile: build.xml

-init:
    [mkdir] Created dir: C:\temp\gnu-crypto-2.0.1\classes
    [mkdir] Created dir: C:\temp\gnu-crypto-2.0.1\lib

-check-args:

-build-jce-jar:
     [echo] About to compile Java Cryptography Extension (JCE) sources...
    [javac] Compiling 83 source files to C:\temp\gnu-crypto-2.0.1\classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [echo] About to make a Java Cryptography Extension (JCE) jar...
      [jar] Building jar: C:\temp\gnu-crypto-2.0.1\lib\javax-crypto.jar
     [echo] About to compile javax.security sources...
    [javac] Compiling 20 source files to C:\temp\gnu-crypto-2.0.1\classes
    [javac] Note: C:\temp\gnu-crypto-2.0.1\security\javax\security\sasl\Sasl.jav
a uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [echo] About to make javax.security jar
      [jar] Building jar: C:\temp\gnu-crypto-2.0.1\lib\javax-security.jar

-init-jce-jar:

init:

-compile-with-jce:
     [echo] About to compile .java sources including JCE specific ones...
    [javac] Compiling 306 source files to C:\temp\gnu-crypto-2.0.1\classes
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\ClientMechanism.java
:143: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ClientMechanism
 cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl
.SaslClient; overridden method does not throw javax.security.sasl.SaslException
    [javac]    public Object getNegotiatedProperty(final String propName) throws
 SaslException {
    [javac]                  ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\ServerMechanism.java
:150: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ServerMechanism
 cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl
.SaslServer; overridden method does not throw javax.security.sasl.SaslException
    [javac]    public Object getNegotiatedProperty(final String propName) throws
 SaslException {
    [javac]                  ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\anonymous\AnonymousC
lient.java:61: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.Client
Mechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.secu
rity.sasl.SaslClient; overridden method does not throw javax.security.sasl.SaslE
xception
    [javac] public class AnonymousClient extends ClientMechanism implements Sasl
Client {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\anonymous\AnonymousS
erver.java:60: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.Server
Mechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.secu
rity.sasl.SaslServer; overridden method does not throw javax.security.sasl.SaslE
xception
    [javac] public class AnonymousServer extends ServerMechanism implements Sasl
Server {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\crammd5\CramMD5Clien
t.java:66: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ClientMech
anism cannot implement getNegotiatedProperty(java.lang.String) in javax.security
.sasl.SaslClient; overridden method does not throw javax.security.sasl.SaslExcep
tion
    [javac] public class CramMD5Client extends ClientMechanism implements SaslCl
ient {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\crammd5\CramMD5Serve
r.java:67: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ServerMech
anism cannot implement getNegotiatedProperty(java.lang.String) in javax.security
.sasl.SaslServer; overridden method does not throw javax.security.sasl.SaslExcep
tion
    [javac] public class CramMD5Server extends ServerMechanism implements SaslSe
rver {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\plain\PlainClient.ja
va:60: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ClientMechanis
m cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sas
l.SaslClient; overridden method does not throw javax.security.sasl.SaslException

    [javac] public class PlainClient extends ClientMechanism implements SaslClie
nt {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\plain\PlainServer.ja
va:66: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ServerMechanis
m cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sas
l.SaslServer; overridden method does not throw javax.security.sasl.SaslException

    [javac] public class PlainServer extends ServerMechanism implements SaslServ
er {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\srp\SRPClient.java:8
8: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ClientMechanism ca
nnot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.Sa
slClient; overridden method does not throw javax.security.sasl.SaslException
    [javac] public class SRPClient extends ClientMechanism implements SaslClient
 {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\srp\SRPServer.java:8
2: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ServerMechanism ca
nnot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.Sa
slServer; overridden method does not throw javax.security.sasl.SaslException
    [javac] public class SRPServer extends ServerMechanism implements SaslServer
 {
    [javac]        ^
    [javac] Note: C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\jce\sig\SignatureAd
apter.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 10 errors

BUILD FAILED
C:\temp\gnu-crypto-2.0.1\build.xml:279: Compile failed; see the compiler error o
utput for details.

Total time: 14 seconds
C:\temp\gnu-crypto-2.0.1>ant docs
Buildfile: build.xml

-init:

-check-args:

-build-jce-jar:
     [echo] About to compile Java Cryptography Extension (JCE) sources...
     [echo] About to make a Java Cryptography Extension (JCE) jar...
     [echo] About to compile javax.security sources...
     [echo] About to make javax.security jar

-init-jce-jar:

init:

-compile-with-jce:
     [echo] About to compile .java sources including JCE specific ones...
    [javac] Compiling 83 source files to C:\temp\gnu-crypto-2.0.1\classes
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\ClientMechanism.java:143: getNegotiatedProperty(java.lang.String) in gnu
.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslClient; overridden
method does not throw javax.security.sasl.SaslException
    [javac]    public Object getNegotiatedProperty(final String propName) throws SaslException {
    [javac]                  ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\ServerMechanism.java:150: getNegotiatedProperty(java.lang.String) in gnu
.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslServer; overridden
method does not throw javax.security.sasl.SaslException
    [javac]    public Object getNegotiatedProperty(final String propName) throws SaslException {
    [javac]                  ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\anonymous\AnonymousClient.java:61: getNegotiatedProperty(java.lang.Strin
g) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslClient; ov
erridden method does not throw javax.security.sasl.SaslException
    [javac] public class AnonymousClient extends ClientMechanism implements SaslClient {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\anonymous\AnonymousServer.java:60: getNegotiatedProperty(java.lang.Strin
g) in gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslServer; ov
erridden method does not throw javax.security.sasl.SaslException
    [javac] public class AnonymousServer extends ServerMechanism implements SaslServer {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\crammd5\CramMD5Client.java:66: getNegotiatedProperty(java.lang.String) i
n gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslClient; overri
dden method does not throw javax.security.sasl.SaslException
    [javac] public class CramMD5Client extends ClientMechanism implements SaslClient {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\crammd5\CramMD5Server.java:67: getNegotiatedProperty(java.lang.String) i
n gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslServer; overri
dden method does not throw javax.security.sasl.SaslException
    [javac] public class CramMD5Server extends ServerMechanism implements SaslServer {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\plain\PlainClient.java:60: getNegotiatedProperty(java.lang.String) in gn
u.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslClient; overridden
 method does not throw javax.security.sasl.SaslException
    [javac] public class PlainClient extends ClientMechanism implements SaslClient {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\plain\PlainServer.java:66: getNegotiatedProperty(java.lang.String) in gn
u.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslServer; overridden
 method does not throw javax.security.sasl.SaslException
    [javac] public class PlainServer extends ServerMechanism implements SaslServer {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\srp\SRPClient.java:88: getNegotiatedProperty(java.lang.String) in gnu.cr
ypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslClient; overridden met
hod does not throw javax.security.sasl.SaslException
    [javac] public class SRPClient extends ClientMechanism implements SaslClient {
    [javac]        ^
    [javac] C:\temp\gnu-crypto-2.0.1\source\gnu\crypto\sasl\srp\SRPServer.java:82: getNegotiatedProperty(java.lang.String) in gnu.cr
ypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslServer; overridden met
hod does not throw javax.security.sasl.SaslException
    [javac] public class SRPServer extends ServerMechanism implements SaslServer {
    [javac]        ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 10 errors

BUILD FAILED
C:\temp\gnu-crypto-2.0.1\build.xml:279: Compile failed; see the compiler error output for details.

Total time: 5 seconds
C:\temp\gnu-crypto-2.0.1>

reply via email to

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