You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Chunrong Lai (JIRA)" <ji...@apache.org> on 2009/02/23 07:43:01 UTC

[jira] Created: (HARMONY-6098) [eut][classlib][security] KeyStore implementation not found

[eut][classlib][security] KeyStore implementation not found
-----------------------------------------------------------

                 Key: HARMONY-6098
                 URL: https://issues.apache.org/jira/browse/HARMONY-6098
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: Win32
            Reporter: Chunrong Lai



 The OSGI tests of EUT  fails with Harmony (with a pass rate of 70%) with Exception of 
 java.security.KeyStoreException: KeyStore JKS implementation not found
 Which can be reproduced in below test case.

import java.security.KeyStore;
import java.security.KeyStoreException;

public class TestKeyStore {
    public static void main(String[] args) {
     try {
      KeyStore supportStore1 = KeyStore.getInstance("JKS");
      KeyStore supportStore2 = KeyStore.getInstance("jks");
      System.out.println("supportStore1 is " + supportStore1 + " supportStore2 is " + supportStore2);
     } catch (Exception e) {
      e.printStackTrace();
     }
    }
}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-6098) [eut][classlib][security] KeyStore implementation not found

Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675805#action_12675805 ] 

Regis Xu commented on HARMONY-6098:
-----------------------------------

Harmony use Bouncy Castle as keystore implementation,  which doesn't provider "JKS" implementation.
We may need to implement ourselves.

> [eut][classlib][security] KeyStore implementation not found
> -----------------------------------------------------------
>
>                 Key: HARMONY-6098
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6098
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Win32
>            Reporter: Chunrong Lai
>
>  The OSGI tests of EUT  fails with Harmony (with a pass rate of 70%) with Exception of 
>  java.security.KeyStoreException: KeyStore JKS implementation not found
>  Which can be reproduced in below test case.
> import java.security.KeyStore;
> import java.security.KeyStoreException;
> public class TestKeyStore {
>     public static void main(String[] args) {
>      try {
>       KeyStore supportStore1 = KeyStore.getInstance("JKS");
>       KeyStore supportStore2 = KeyStore.getInstance("jks");
>       System.out.println("supportStore1 is " + supportStore1 + " supportStore2 is " + supportStore2);
>      } catch (Exception e) {
>       e.printStackTrace();
>      }
>     }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-6098) [eut][classlib][security] KeyStore implementation not found

Posted by "Regis Xu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676336#action_12676336 ] 

Regis Xu commented on HARMONY-6098:
-----------------------------------

This problem was discussed in dev-list [1]
The conclusion is because JKS is a Sun's proprietary standard, we can't implement it.
It seems we can't do nothing unless Sun changed his mind, so I suggest mark this issue as won't fix.

[1] http://harmony.markmail.org/search/?q=jks#query:jks+page:3+mid:kxorpmcpydq6l7af+state:results

> [eut][classlib][security] KeyStore implementation not found
> -----------------------------------------------------------
>
>                 Key: HARMONY-6098
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6098
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Win32
>            Reporter: Chunrong Lai
>
>  The OSGI tests of EUT  fails with Harmony (with a pass rate of 70%) with Exception of 
>  java.security.KeyStoreException: KeyStore JKS implementation not found
>  Which can be reproduced in below test case.
> import java.security.KeyStore;
> import java.security.KeyStoreException;
> public class TestKeyStore {
>     public static void main(String[] args) {
>      try {
>       KeyStore supportStore1 = KeyStore.getInstance("JKS");
>       KeyStore supportStore2 = KeyStore.getInstance("jks");
>       System.out.println("supportStore1 is " + supportStore1 + " supportStore2 is " + supportStore2);
>      } catch (Exception e) {
>       e.printStackTrace();
>      }
>     }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.