[ 
https://issues.apache.org/jira/browse/HBASE-11542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14162199#comment-14162199
 ] 

Andrew Purtell commented on HBASE-11542:
----------------------------------------

Instead of using internal security APIs which are 1) nonstandard and 2) at 
least in the case of Oracle Java going to disappear, can we instead use keytool 
once to generate a test file, stringify it, and use this in the test ? Thanks

> Unit Test  KeyStoreTestUtil.java compilation failure in IBM JDK 
> ----------------------------------------------------------------
>
>                 Key: HBASE-11542
>                 URL: https://issues.apache.org/jira/browse/HBASE-11542
>             Project: HBase
>          Issue Type: Improvement
>          Components: build, test
>    Affects Versions: 0.99.0
>         Environment: RHEL 6.3 ,IBM JDK 6
>            Reporter: LinseyPang
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-11542-4.patch, HBASE-11542-5.patch, 
> HBASE_11542-1.patch, hbase11542-0.99-v3.patch, hbase11542-0.99-v3.patch, 
> hbase11542-0.99-v3.patch, hbase_11542-v2.patch, sslkeystore.patch
>
>
> 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. 
>   



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to