From 353c18a3708ec501b27cad6265f7aea0a193781d Mon Sep 17 00:00:00 2001 From: Andrew John Hughes Date: Sun, 22 Mar 2015 22:33:05 +0000 Subject: Allow setDName to throw an IOException so tools build again. 2015-03-22 Andrew John Hughes * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: (setDName(String,X500Principal)): Allow IOException to be thrown. --- tools/gnu/classpath/tools/keytool/SelfCertCmd.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.1