Details
-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b100
-
Not verified
Description
Before RE switching to the new-infra build for JCE provider binary, we unfortunately still have to deal with old build.
The old build fails after the following fix
6356530 "-Xlint:serial does not flag abstract classes with concrete methods/members"
is integrated, i.e. build exited with the error message
../../../src/share/classes/java/security/spec/RSAPrivateCrtKeySpec.java
../../../src/share/classes/java/security/spec/RSAPrivateKeySpec.java
../../../src/share/classes/java/security/spec/RSAPublicKeySpec.java
../../../src/share/classes/java/security/spec/package-info.java
# Running javac: 57 files; in /HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/jdk/make/java/security
/localtools/solaris-sparc/jdk1.7.0_07/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx512m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -Xbootclasspath/p:/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/langtools/dist/bootstrap/lib/javac.jar -jar /HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/langtools/dist/bootstrap/lib/javac.jar -Werror -Xlint:all -Xlint:-path -source 8 -target 8 -encoding ascii -Xbootclasspath:/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/classes -sourcepath ../../../src/closed/solaris/classes:../../../src/closed/share/classes:/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/gensrc:../../../src/solaris/classes:../../../src/share/classes -d /HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/classes @/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/tmp/sun/java.security/.classes.list.filtered
../../../src/share/classes/java/security/AuthProvider.java:42: warning: [serial] serializable class AuthProvider has no definition of serialVersionUID
public abstract class AuthProvider extends Provider {
^
error: warnings found and -Werror specified
1 error
1 warning
gnumake[4]: *** [.compile.classlist] Error 1
gnumake[4]: Leaving directory `/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/jdk/make/java/security'
gnumake[3]: *** [all] Error 1
gnumake[3]: Leaving directory `/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/jdk/make/java'
gnumake[2]: *** [all] Error 1
gnumake[2]: Leaving directory `/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/jdk/make'
gnumake[1]: *** [jdk-build] Error 2
gnumake[1]: Leaving directory `/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl'
gnumake: *** [build_product_image] Error 2
gmkexitcode=2
The old build fails after the following fix
6356530 "-Xlint:serial does not flag abstract classes with concrete methods/members"
is integrated, i.e. build exited with the error message
../../../src/share/classes/java/security/spec/RSAPrivateCrtKeySpec.java
../../../src/share/classes/java/security/spec/RSAPrivateKeySpec.java
../../../src/share/classes/java/security/spec/RSAPublicKeySpec.java
../../../src/share/classes/java/security/spec/package-info.java
# Running javac: 57 files; in /HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/jdk/make/java/security
/localtools/solaris-sparc/jdk1.7.0_07/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx512m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -Xbootclasspath/p:/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/langtools/dist/bootstrap/lib/javac.jar -jar /HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/langtools/dist/bootstrap/lib/javac.jar -Werror -Xlint:all -Xlint:-path -source 8 -target 8 -encoding ascii -Xbootclasspath:/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/classes -sourcepath ../../../src/closed/solaris/classes:../../../src/closed/share/classes:/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/gensrc:../../../src/solaris/classes:../../../src/share/classes -d /HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/classes @/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/build/solaris-sparc/tmp/sun/java.security/.classes.list.filtered
../../../src/share/classes/java/security/AuthProvider.java:42: warning: [serial] serializable class AuthProvider has no definition of serialVersionUID
public abstract class AuthProvider extends Provider {
^
error: warnings found and -Werror specified
1 error
1 warning
gnumake[4]: *** [.compile.classlist] Error 1
gnumake[4]: Leaving directory `/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/jdk/make/java/security'
gnumake[3]: *** [all] Error 1
gnumake[3]: Leaving directory `/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/jdk/make/java'
gnumake[2]: *** [all] Error 1
gnumake[2]: Leaving directory `/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl/jdk/make'
gnumake[1]: *** [jdk-build] Error 2
gnumake[1]: Leaving directory `/HUDSON2/workspace/jdk8_tl-2-build-solaris-sparc-product/jdk8_tl'
gnumake: *** [build_product_image] Error 2
gmkexitcode=2