Index: modules/tools/src/main/java/org/apache/harmony/tools/toolutils/KeyStoreLoaderSaver.java =================================================================== --- modules/tools/src/main/java/org/apache/harmony/tools/toolutils/KeyStoreLoaderSaver.java (revision 465152) +++ modules/tools/src/main/java/org/apache/harmony/tools/toolutils/KeyStoreLoaderSaver.java (working copy) @@ -159,6 +159,8 @@ ksFile = new File(uri); } catch (URISyntaxException e) { ksFile = new File(storePath); + } catch (IllegalArgumentException e){ + ksFile = new File(storePath); } // the file will be created if and only if one with the same name