--- old/src/share/classes/com/sun/jndi/url/dns/dnsURLContextFactory.java 2011-07-27 17:24:58.194534300 -0700 +++ new/src/share/classes/com/sun/jndi/url/dns/dnsURLContextFactory.java 2011-07-27 17:24:57.477462600 -0700 @@ -62,7 +62,7 @@ } } - private static Object getUsingURL(String url, Hashtable env) + private static Object getUsingURL(String url, Hashtable env) throws NamingException { dnsURLContext urlCtx = new dnsURLContext(env); @@ -78,7 +78,7 @@ * If all URLs fail, throw one of the exceptions arbitrarily. * Not pretty, but potentially more informative than returning null. */ - private static Object getUsingURLs(String[] urls, Hashtable env) + private static Object getUsingURLs(String[] urls, Hashtable env) throws NamingException { if (urls.length == 0) {