Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7185965

Build error in javadoc make stage for bundles not containing crypto package

    Details

    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      sparc
    • OS:
      solaris_10
    • Verification:
      Verified

      Backports

        Description

        JLE tried to build jdk7u6ea(b18) in solaris10.
        The following error message shows up and build process fails.

        MESSAGE:
        ......
        /export/home/tbaba/java/jdk6u26/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx1024m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m "-Xbootclasspath/p:/export/home/tbaba/jdk/jdk7u6ea/build/solaris-sparcv9/langtools/dist/bootstrap/lib/javadoc.jar:/export/home/tbaba/jdk/jdk7u6ea/build/solaris-sparcv9/langtools/dist/bootstrap/lib/javac.jar:/export/home/tbaba/jdk/jdk7u6ea/build/solaris-sparcv9/langtools/dist/bootstrap/lib/doclets.jar" -jar /export/home/tbaba/jdk/jdk7u6ea/build/solaris-sparcv9/langtools/dist/bootstrap/lib/javadoc.jar -bootclasspath /export/home/tbaba/jdk/jdk7u6ea/build/solaris-sparcv9/classes -d /export/home/tbaba/jdk/jdk7u6ea/build/solaris-sparcv9/docs/jdk/api/jpda/jdi \
        @/export/home/tbaba/jdk/jdk7u6ea/build/solaris-sparcv9/tmp/docs/doctmp/jdi.options @/export/home/tbaba/jdk/jdk7u6ea/build/solaris-sparcv9/tmp/docs/doctmp/jdi.packages
        ../../src/share/classes/javax/security/auth/kerberos/KerberosKey.java:29: error: package javax.crypto does not exist
        import javax.crypto.SecretKey;
                           ^
        ../../src/share/classes/javax/security/auth/kerberos/KerberosKey.java:60: error: cannot find symbol
        public class KerberosKey implements SecretKey, Destroyable {
                                            ^
          symbol: class SecretKey
        ../../src/share/classes/javax/security/auth/kerberos/KeyImpl.java:30: error: package javax.crypto does not exist
        import javax.crypto.SecretKey;
                           ^
        ../../src/share/classes/javax/security/auth/kerberos/KeyImpl.java:51: error: cannot find symbol
        class KeyImpl implements SecretKey, Destroyable, Serializable {
                                 ^
          symbol: class SecretKey
        ../../src/share/classes/java/security/Signature.java:39: error: package javax.crypto does not exist
        import javax.crypto.Cipher;
                           ^
        ../../src/share/classes/java/security/Signature.java:40: error: package javax.crypto does not exist
        import javax.crypto.CipherSpi;
                           ^
        ../../src/share/classes/java/security/Signature.java:41: error: package javax.crypto does not exist
        import javax.crypto.IllegalBlockSizeException;
                           ^
        ../../src/share/classes/java/security/Signature.java:42: error: package javax.crypto does not exist
        import javax.crypto.BadPaddingException;
                           ^
        ../../src/share/classes/java/security/Signature.java:43: error: package javax.crypto does not exist
        import javax.crypto.NoSuchPaddingException;
                           ^
        ../../src/share/classes/java/security/Signature.java:1208: error: cannot find symbol
                private final Cipher cipher;
                              ^
          symbol: class Cipher
          location: class CipherAdapter
        ../../src/share/classes/java/security/Signature.java:1212: error: cannot find symbol
                CipherAdapter(Cipher cipher) {
                              ^
          symbol: class Cipher
          location: class CipherAdapter
        ../../src/share/classes/java/security/KeyRep.java:34: error: package javax.crypto does not exist
        import javax.crypto.SecretKeyFactory;
                           ^
        ../../src/share/classes/java/security/KeyRep.java:35: error: package javax.crypto.spec does not exist
        import javax.crypto.spec.SecretKeySpec;
                                ^
        ../../src/share/classes/java/security/KeyStore.java:33: error: package javax.crypto does not exist
        import javax.crypto.SecretKey;
                           ^
        ../../src/share/classes/java/security/KeyStoreSpi.java:35: error: package javax.crypto does not exist
        import javax.crypto.SecretKey;
                           ^
        ../../src/share/classes/java/security/KeyStore.java:488: error: cannot find symbol
                private final SecretKey sKey;
                              ^
          symbol: class SecretKey
          location: class SecretKeyEntry
        ../../src/share/classes/java/security/KeyStore.java:499: error: cannot find symbol
                public SecretKeyEntry(SecretKey secretKey) {
                                      ^
          symbol: class SecretKey
          location: class SecretKeyEntry
        ../../src/share/classes/java/security/KeyStore.java:511: error: cannot find symbol
                public SecretKey getSecretKey() {
                       ^
          symbol: class SecretKey
          location: class SecretKeyEntry
        7 errors
        11 warnings
        make[3]: *** [/export/home/tbaba/jdk/jdk7u6ea/build/solaris-sparcv9/docs/jdk/api/jpda/jdi/index.html] Error 1
        make[3]: Leaving directory `/export/home/tbaba/jdk/jdk7u6ea/jdk/make/docs'
        make[2]: *** [docs] Error 1
        make[2]: Leaving directory `/export/home/tbaba/jdk/jdk7u6ea/jdk/make'
        make[1]: *** [jdk-build] Error 2
        make[1]: Leaving directory `/export/home/tbaba/jdk/jdk7u6ea'
        make: *** [build_product_image] Error 2

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  coffeys Sean Coffey
                  Reporter:
                  tbaba Tadayuki Baba (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: