changeset 4674:67f1abd35c4e

7130948: Kerberos and JGSS JCK tests failing [macosx] Reviewed-by: michaelm, bino, mullan
author weijun
date Tue, 24 Jan 2012 16:15:42 +0000
parents 831af87f8b99
children 61c4a65004c1
files src/share/classes/sun/security/krb5/SCDynamicStoreConfig.java
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/security/krb5/SCDynamicStoreConfig.java	Tue Jan 24 08:56:19 2012 +0000
+++ b/src/share/classes/sun/security/krb5/SCDynamicStoreConfig.java	Tue Jan 24 16:15:42 2012 +0000
@@ -25,6 +25,7 @@
 
 package sun.security.krb5;
 
+import java.io.IOException;
 import java.util.Collection;
 import java.util.Hashtable;
 import java.util.Vector;
@@ -81,13 +82,13 @@
      * graph to the one that Kerberos Config in Java expects
      *
      * @return
-     * @throws KrbException
+     * @throws IOException
      */
     @SuppressWarnings("unchecked")
-    public static Hashtable<String, Object> getConfig() throws KrbException {
+    public static Hashtable<String, Object> getConfig() throws IOException {
         Hashtable<String, Object> stanzaTable = getKerberosConfig();
         if (stanzaTable == null) {
-            throw(new KrbException("Could not load configuration from SCDynamicStore"));
+            throw new IOException("Could not load configuration from SCDynamicStore");
         }
         //System.out.println("Raw map from JNI: " + stanzaTable);