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] Created: (HARMONY-1927) [classlib][tools] KeyStoreLoaderSaver.saveStore(..) throws unhandled IllegalArgumentException
Date Fri, 20 Oct 2006 08:10:34 GMT
[classlib][tools] KeyStoreLoaderSaver.saveStore(..) throws unhandled IllegalArgumentException

                 Key: HARMONY-1927
                 URL: http://issues.apache.org/jira/browse/HARMONY-1927
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Anton Rusanov
            Priority: Minor

The method throws an unhandled IllegalArgumentException when a path to key-store is not an
The test reproduces the problem: 

import org.apache.harmony.tools.toolutils.KeyStoreLoaderSaver; 

public class URItest { 
    public static void main(String[] args) throws Exception { 
            KeyStore keyStore = KeyStoreLoaderSaver.loadStore(null, "BKS",
                    "pwd".toCharArray(), null);
            KeyStoreLoaderSaver.saveStore(keyStore, "ksPath", "pwd"
                    .toCharArray(), false);
The patch fixes the problem. 

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


View raw message