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

IBM JCE provider can not be used with merlin JCE under -Djava.ext.dirs flag

    XMLWordPrintable

Details

    Description

      Note:
      1. when we redirect ext dir by using -Djava.ext.dirs flag, IBM JCE provider can not be plugged into merlin JCE framework
      2. If we keep IBM JCE provider at the default ext dir, it will work fine
         (use sh pass_ext.sh)
      3. For SunJCE provider, we don't have this problem, the test pass under all kind of deployment

      Platform:
      Generic

      JDK version:
      NOT work with Merlin JDK
      It do work with jdk1.3 (use sh Run13.sh)

      How to reproduce:
      1. get the files from this attachment, untar it and cd IBMJCE dir
      2. set JAVA_HOME
      3. sh Run.sh
      4. you will see this ---
      yetoom:/home/stuartk/merlin_jdk/TestSuite/src/jce/Dynamic/IBMJCE( 42 )%sh Run.sh
      java.security.NoSuchAlgorithmException: Class com.ibm.crypto.provider.BlowfishCipher configured for Cipher cannot be instantiated: null
              at javax.crypto.b.a([DashoPro-V1.2-120198])
              at javax.crypto.b.a([DashoPro-V1.2-120198])
              at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])
              at TestCipherBlowfishFunc.runTest(TestCipherBlowfishFunc.java:104)
              at TestCipherBlowfishFunc.run(TestCipherBlowfishFunc.java:66)
              at TestCipherBlowfishFunc.main(TestCipherBlowfishFunc.java:40)

      Attachments

        Issue Links

          Activity

            People

              valeriep Valerie Peng
              skesunw Stuart Ke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: