harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Rusanov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1794) [classlib][tools] KeyStoreLoaderSaver throws unhandled IllegalArgumentException
Date Wed, 11 Oct 2006 06:41:21 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1794?page=comments#action_12441360 ] 
            
Anton Rusanov commented on HARMONY-1794:
----------------------------------------

Thanks Stepan. It is OK.

> [classlib][tools] KeyStoreLoaderSaver throws unhandled IllegalArgumentException
> -------------------------------------------------------------------------------
>
>                 Key: HARMONY-1794
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1794
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Anton Rusanov
>         Assigned To: Stepan Mishura
>            Priority: Minor
>         Attachments: patch.txt, regression_test_patch.txt
>
>
> The class throws an unhandled IllegalArgumentException when given a path which is not
an URI. 
> The test reproduces the problem:
> import org.apache.harmony.tools.toolutils.KeyStoreLoaderSaver;
> public class URItest {
>     public static void main(String[] args) throws Exception {
>         KeyStoreLoaderSaver.loadStore("/abc", "BKS", "pwd".toCharArray(), null);
>     }
> }
> The patch fixes the problem. It also adds an additional check if the keystore file exists.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message