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

Backport of JDK-8129988 broke the build

XMLWordPrintable

    • b01
    • b01
    • generic
    • generic

      It looks like a renamed file and a new file were missing from the commit of JDK-8129988, leading to build breakage.

      diffstat for 9 version:

       b/src/share/classes/sun/security/ssl/SSLContextImpl.java | 18
       b/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java | 144 ---
       b/src/share/classes/sun/security/ssl/TrustStoreManager.java | 395 ++++++++++
       b/src/share/classes/sun/security/ssl/X509TrustManagerImpl.java | 54 -
       b/src/share/classes/sun/security/validator/TrustStoreUtil.java | 77 -
       b/src/share/classes/sun/security/validator/Validator.java | 2
       b/test/sun/security/ssl/SSLContextImpl/BadTSProvider.java | 21
       b/test/sun/security/validator/EndEntityExtensionCheck.java | 6
       8 files changed, 494 insertions(+), 223 deletions(-)

      diffstat for 8 commit:
       b/src/share/classes/sun/security/ssl/SSLContextImpl.java | 18 -
       b/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java | 146 +---------
       b/src/share/classes/sun/security/ssl/X509TrustManagerImpl.java | 54 ++-
       b/src/share/classes/sun/security/validator/Validator.java | 4
       b/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLContextImpl/BadTSProvider.java | 21 +
       b/test/sun/security/validator/EndEntityExtensionCheck.java | 6
       6 files changed, 83 insertions(+), 166 deletions(-)

      TrustStoreManager.java is missing and TrustStoreUtil.java is not moved from src/share/classes/sun/security/validator/KeyStores.java

      When bootstrapping with 7, we also hit:

      /home/andrew/projects/openjdk/upstream/jdk8u-dev/jdk/src/share/classes/sun/security/ssl/TrustStoreManager.java:129: error: cannot infer type arguments for PrivilegedAction<T>
                   return AccessController.doPrivileged(new PrivilegedAction<>() {
                                                                            ^
        reason: cannot use '<>' with anonymous inner classes
        where T is a type-variable:
          T extends Object declared in interface PrivilegedAction

            andrew Andrew Hughes
            andrew Andrew Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: