diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2015-03-22 22:33:05 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2015-03-22 22:33:05 +0000 |
commit | 353c18a3708ec501b27cad6265f7aea0a193781d (patch) | |
tree | dddeee7f76989445373dbca812b5073e0f4ef5ae | |
parent | 229a0915fbb027f0bbb4ce9b0981bc4cd2d5472e (diff) | |
download | classpath-353c18a3708ec501b27cad6265f7aea0a193781d.tar.gz |
Allow setDName to throw an IOException so tools build again.
2015-03-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java:
(setDName(String,X500Principal)): Allow IOException
to be thrown.
-rw-r--r-- | tools/gnu/classpath/tools/keytool/SelfCertCmd.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gnu/classpath/tools/keytool/SelfCertCmd.java b/tools/gnu/classpath/tools/keytool/SelfCertCmd.java index 395bfe2cd..2a876eb37 100644 --- a/tools/gnu/classpath/tools/keytool/SelfCertCmd.java +++ b/tools/gnu/classpath/tools/keytool/SelfCertCmd.java @@ -1,5 +1,5 @@ /* SelfCertCmd.java -- The selfcert command handler of the keytool - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2015 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -423,6 +423,7 @@ class SelfCertCmd extends Command } private void setDName(String name, X500Principal defaultName) + throws IOException { if (name != null && name.trim().length() > 0) name = name.trim(); |