harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4916) [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.
Date Wed, 10 Oct 2007 03:53:50 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533587
] 

Leo Li commented on HARMONY-4916:
---------------------------------

The problem here is that in Turkish Locale, some ASCII chars are converted as what are not
expected. For example, the "MD5withRSA" is converted as "MD5W�0�2THRSA". Thus strings
representing property/configuration/algorithm seems have to be manipulated as locale neutral.

Good luck!
Leo

> [classlib][security]Harmony fails to get "MD5withRSA" signature under Turkish locale.
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4916
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>
> Here is an example:
>         // Enfore that providers information has been loaded.
>         Signature.getInstance("DSA");
>         
>         Locale defaultLocale = Locale.getDefault();
>         try {
>             Locale.setDefault(new Locale("tr"));
>             Signature.getInstance("MD5withRSA");
>         } finally {
>             Locale.setDefault(defaultLocale);
>         }
> RI passes.
> Harmony fails.

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


Mime
View raw message