SUGGESTED FIX
diff -r 5492069e3f5e src/share/classes/sun/security/krb5/SCDynamicStoreConfig.java
--- a/src/share/classes/sun/security/krb5/SCDynamicStoreConfig.java Tue Jan 17 03:33:33 2012 -0800
+++ b/src/share/classes/sun/security/krb5/SCDynamicStoreConfig.java Wed Jan 18 02:27:01 2012 -0800
@@ -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);
|