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

JCE providers should be located via ServiceLoader

    XMLWordPrintable

Details

    • b71
    • generic
    • generic
    • Verified

    Backports

      Description

        As part of the work to load JCE providers using ServiceLoader in Project Jigsaw, some changes and restructuring were made to the provider loading code to enable it to better support modular providers. The changes that are not specifically dependent on modules/jigsaw should be merged into JDK 8 to ease potential future merges. Here is the changeset:

        Changeset: bf6c3ddca9f9
        Author: mullan
        Date: 2012-08-14 17:09 -0400
        URL: http://hg.openjdk.java.net/jigsaw/jigsaw/jdk/rev/bf6c3ddca9f9

        Load JCE Providers in module mode using ServiceLoader
        Reviewed-by: alanb, mchung, psandoz

        ! make/modules/jdk.depconfig
        ! make/modules/modules.group
        ! src/share/classes/com/sun/crypto/provider/AESKeyGenerator.java
        ! src/share/classes/com/sun/crypto/provider/BlowfishKeyGenerator.java
        ! src/share/classes/com/sun/crypto/provider/CipherCore.java
        ! src/share/classes/com/sun/crypto/provider/DESKeyGenerator.java
        ! src/share/classes/com/sun/crypto/provider/DESedeKeyGenerator.java
        ! src/share/classes/com/sun/crypto/provider/DESedeWrapCipher.java
        ! src/share/classes/com/sun/crypto/provider/DHKeyPairGenerator.java
        ! src/share/classes/com/sun/crypto/provider/DHParameterGenerator.java
        ! src/share/classes/com/sun/crypto/provider/HmacMD5KeyGenerator.java
        ! src/share/classes/com/sun/crypto/provider/HmacPKCS12PBESHA1.java
        ! src/share/classes/com/sun/crypto/provider/HmacSHA1KeyGenerator.java
        ! src/share/classes/com/sun/crypto/provider/ISO10126Padding.java
        ! src/share/classes/com/sun/crypto/provider/KeyGeneratorCore.java
        ! src/share/classes/com/sun/crypto/provider/KeyProtector.java
        ! src/share/classes/com/sun/crypto/provider/PBECipherCore.java
        ! src/share/classes/com/sun/crypto/provider/PKCS12PBECipherCore.java
        ! src/share/classes/com/sun/crypto/provider/SunJCE.java
        ! src/share/classes/org/openjdk/jigsaw/cli/Packager.java
        ! src/share/classes/sun/security/jca/ProviderConfig.java
        ! src/share/classes/sun/security/jca/ProviderList.java
        ! src/share/classes/sun/security/jca/Providers.java
        ! src/share/classes/sun/security/pkcs11/SunPKCS11.java
        + test/org/openjdk/jigsaw/services/jce.sh

        Attachments

          Issue Links

            Activity

              People

                valeriep Valerie Peng
                mullan Sean Mullan
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: