Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11542

Unit Test KeyStoreTestUtil.java compilation failure in IBM JDK

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.99.0
    • Fix Version/s: 1.0.1, 1.1.0, 2.0.0
    • Component/s: build, test
    • Labels:
      None
    • Environment:

      IBM JDK 6, IBM JDK 7

      Description

      In trunk, jira HBase-10336 added a utility test KeyStoreTestUtil.java, which leverages the following sun classes:
         import sun.security.x509.AlgorithmId;
         import sun.security.x509.CertificateAlgorithmId;
        ....

      this cause hbase compiler failure if using IBM JDK,
      There are similar classes like below in IBM jdk:
      import com.ibm.security.x509.AlgorithmId;
      import com.ibm.security.x509.CertificateAlgorithmId;

      This jira is to add handling of the x509 references.

        Attachments

        1. sslkeystore.patch
          5 kB
          pascal oliva
        2. server_pkcs8
          0.6 kB
          pascal oliva
        3. server_crt
          0.9 kB
          pascal oliva
        4. KeyStoreTestUtil.java.new1
          14 kB
          pascal oliva
        5. HBASE-11542-7.patch
          5 kB
          pascal oliva
        6. HBASE-11542-6.patch
          12 kB
          pascal oliva
        7. HBASE-11542-5.patch
          14 kB
          pascal oliva
        8. HBASE-11542-4.patch
          5 kB
          pascal oliva
        9. hbase11542-0.99-v3.patch
          34 kB
          LinseyPang
        10. hbase11542-0.99-v3.patch
          34 kB
          Michael Stack
        11. hbase11542-0.99-v3.patch
          34 kB
          Michael Stack
        12. hbase_11542-v2.patch
          94 kB
          LinseyPang
        13. HBASE_11542-1.patch
          35 kB
          LinseyPang
        14. client_pkcs8
          0.6 kB
          pascal oliva
        15. client_crt
          0.9 kB
          pascal oliva

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Linsey LinseyPang
              • Votes:
                2 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: