United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7185965 Build error in javadoc make stage for bundles not containing crypto package
JDK-7185965 : Build error in javadoc make stage for bundles not containing crypto package

Details
Type:
Bug
Submit Date:
2012-07-23
Status:
Closed
Updated Date:
2013-09-04
Project Name:
JDK
Resolved Date:
2012-09-17
Component:
security-libs
OS:
solaris_10
Sub-Component:
java.security
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u6
Fixed Versions:
7u40 (b08)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

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

                                    

Comments
EVALUATION

Should bootstrap a jce.jar file to javadoc make process when necessary.
                                     
2012-08-08
This JavaDoc error can't find in http://jre.us.oracle.com/java/re/jdk/7u6/promoted/ea/b08/logs/build-solaris-sparcv9-product.log. I am sure this issue have been fixed.
                                     
2013-04-18



Hardware and Software, Engineered to Work Together